	format	MS COFF
	extrn	___bb_blitz_blitz
	extrn	___bb_math_math
	extrn	_bbACos
	extrn	_bbArrayNew1D
	extrn	_bbArraySlice
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbFloatAbs
	extrn	_bbFloatToInt
	extrn	_bbFloor
	extrn	_bbGCFree
	extrn	_bbHandleToObject
	extrn	_bbMemCopy
	extrn	_bbMilliSecs
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbSin
	extrn	_bbSqr
	extrn	_bbStringClass
	extrn	_bbStringCompare
	extrn	_bbStringFromInt
	extrn	_bbStringToInt
	extrn	_brl_blitz_DebugLog
	public	___bb_cal3d_cal3d
	public	__c3d_cal3d_CalAbstractMixer_Delete
	public	__c3d_cal3d_CalAbstractMixer_New
	public	__c3d_cal3d_CalAbstractMixer_isDefaultMixer
	public	__c3d_cal3d_CalAbstractMixer_updateAnimation
	public	__c3d_cal3d_CalAbstractMixer_updateSkeleton
	public	__c3d_cal3d_CalAnimationAction_BuildFromCore
	public	__c3d_cal3d_CalAnimationAction_Delete
	public	__c3d_cal3d_CalAnimationAction_New
	public	__c3d_cal3d_CalAnimationAction_execute
	public	__c3d_cal3d_CalAnimationAction_update
	public	__c3d_cal3d_CalAnimationCallback_AnimationComplete
	public	__c3d_cal3d_CalAnimationCallback_AnimationUpdate
	public	__c3d_cal3d_CalAnimationCallback_Delete
	public	__c3d_cal3d_CalAnimationCallback_New
	public	__c3d_cal3d_CalAnimationCycle_BuildFromCore
	public	__c3d_cal3d_CalAnimationCycle_Delete
	public	__c3d_cal3d_CalAnimationCycle_New
	public	__c3d_cal3d_CalAnimationCycle_blend
	public	__c3d_cal3d_CalAnimationCycle_setAsync
	public	__c3d_cal3d_CalAnimationCycle_update
	public	__c3d_cal3d_CalAnimationState_Delete
	public	__c3d_cal3d_CalAnimationState_New
	public	__c3d_cal3d_CalAnimationType_Delete
	public	__c3d_cal3d_CalAnimationType_New
	public	__c3d_cal3d_CalAnimation_Delete
	public	__c3d_cal3d_CalAnimation_FromCore
	public	__c3d_cal3d_CalAnimation_New
	public	__c3d_cal3d_CalAnimation_checkCallbacks
	public	__c3d_cal3d_CalAnimation_completeCallbacks
	public	__c3d_cal3d_CalAnimation_getCoreAnimation
	public	__c3d_cal3d_CalAnimation_getState
	public	__c3d_cal3d_CalAnimation_getTime
	public	__c3d_cal3d_CalAnimation_getTimeFactor
	public	__c3d_cal3d_CalAnimation_getType
	public	__c3d_cal3d_CalAnimation_getWeight
	public	__c3d_cal3d_CalAnimation_setState
	public	__c3d_cal3d_CalAnimation_setTime
	public	__c3d_cal3d_CalAnimation_setTimeFactor
	public	__c3d_cal3d_CalAnimation_setType
	public	__c3d_cal3d_CalAnimation_setWeight
	public	__c3d_cal3d_CalBlendVertex_Delete
	public	__c3d_cal3d_CalBlendVertex_New
	public	__c3d_cal3d_CalBone_Delete
	public	__c3d_cal3d_CalBone_FromCore
	public	__c3d_cal3d_CalBone_GetRotation
	public	__c3d_cal3d_CalBone_New
	public	__c3d_cal3d_CalBone_SetRotation
	public	__c3d_cal3d_CalBone_blendState
	public	__c3d_cal3d_CalBone_calculateBoundingBox
	public	__c3d_cal3d_CalBone_calculateState
	public	__c3d_cal3d_CalBone_clearState
	public	__c3d_cal3d_CalBone_getBoundingBox
	public	__c3d_cal3d_CalBone_getCoreBone
	public	__c3d_cal3d_CalBone_getRotationAbsolute
	public	__c3d_cal3d_CalBone_getRotationBoneSpace
	public	__c3d_cal3d_CalBone_getTransformMatrix
	public	__c3d_cal3d_CalBone_getTranslation
	public	__c3d_cal3d_CalBone_getTranslationAbsolute
	public	__c3d_cal3d_CalBone_getTranslationBoneSpace
	public	__c3d_cal3d_CalBone_lockState
	public	__c3d_cal3d_CalBone_setCoreState
	public	__c3d_cal3d_CalBone_setCoreStateRecursive
	public	__c3d_cal3d_CalBone_setSkeleton
	public	__c3d_cal3d_CalBone_setTranslation
	public	__c3d_cal3d_CalBoundingBox_Delete
	public	__c3d_cal3d_CalBoundingBox_New
	public	__c3d_cal3d_CalBoundingBox_computePoints
	public	__c3d_cal3d_CalCallbackRecord_Delete
	public	__c3d_cal3d_CalCallbackRecord_FromCallback
	public	__c3d_cal3d_CalCallbackRecord_New
	public	__c3d_cal3d_CalColor_Delete
	public	__c3d_cal3d_CalColor_FromColor
	public	__c3d_cal3d_CalColor_FromValues
	public	__c3d_cal3d_CalColor_New
	public	__c3d_cal3d_CalCoreAnimation_Delete
	public	__c3d_cal3d_CalCoreAnimation_New
	public	__c3d_cal3d_CalCoreAnimation_addCoreTrack
	public	__c3d_cal3d_CalCoreAnimation_getCallbackList
	public	__c3d_cal3d_CalCoreAnimation_getCoreTrack
	public	__c3d_cal3d_CalCoreAnimation_getDuration
	public	__c3d_cal3d_CalCoreAnimation_getFilename
	public	__c3d_cal3d_CalCoreAnimation_getListCoreTrack
	public	__c3d_cal3d_CalCoreAnimation_getName
	public	__c3d_cal3d_CalCoreAnimation_getTotalNumberOfKeyframes
	public	__c3d_cal3d_CalCoreAnimation_getTrackCount
	public	__c3d_cal3d_CalCoreAnimation_registerCallback
	public	__c3d_cal3d_CalCoreAnimation_removeCallback
	public	__c3d_cal3d_CalCoreAnimation_scale
	public	__c3d_cal3d_CalCoreAnimation_setDuration
	public	__c3d_cal3d_CalCoreAnimation_setFilename
	public	__c3d_cal3d_CalCoreAnimation_setName
	public	__c3d_cal3d_CalCoreBone_Delete
	public	__c3d_cal3d_CalCoreBone_GetRotation
	public	__c3d_cal3d_CalCoreBone_New
	public	__c3d_cal3d_CalCoreBone_SetRotation
	public	__c3d_cal3d_CalCoreBone_addChildId
	public	__c3d_cal3d_CalCoreBone_calculateBoundingBox
	public	__c3d_cal3d_CalCoreBone_calculateState
	public	__c3d_cal3d_CalCoreBone_getBoundingBox
	public	__c3d_cal3d_CalCoreBone_getBoundingData
	public	__c3d_cal3d_CalCoreBone_getCoreSkeleton
	public	__c3d_cal3d_CalCoreBone_getListChildId
	public	__c3d_cal3d_CalCoreBone_getName
	public	__c3d_cal3d_CalCoreBone_getParentId
	public	__c3d_cal3d_CalCoreBone_getRotationAbsolute
	public	__c3d_cal3d_CalCoreBone_getRotationBoneSpace
	public	__c3d_cal3d_CalCoreBone_getTranslation
	public	__c3d_cal3d_CalCoreBone_getTranslationAbsolute
	public	__c3d_cal3d_CalCoreBone_getTranslationBoneSpace
	public	__c3d_cal3d_CalCoreBone_getUserData
	public	__c3d_cal3d_CalCoreBone_isBoundingBoxPrecomputed
	public	__c3d_cal3d_CalCoreBone_scale
	public	__c3d_cal3d_CalCoreBone_setCoreSkeleton
	public	__c3d_cal3d_CalCoreBone_setParentId
	public	__c3d_cal3d_CalCoreBone_setRotationBoneSpace
	public	__c3d_cal3d_CalCoreBone_setTranslation
	public	__c3d_cal3d_CalCoreBone_setTranslationBoneSpace
	public	__c3d_cal3d_CalCoreBone_setUserData
	public	__c3d_cal3d_CalCoreKeyframe_Create
	public	__c3d_cal3d_CalCoreKeyframe_Delete
	public	__c3d_cal3d_CalCoreKeyframe_FromData
	public	__c3d_cal3d_CalCoreKeyframe_GetRotation
	public	__c3d_cal3d_CalCoreKeyframe_New
	public	__c3d_cal3d_CalCoreKeyframe_SetRotation
	public	__c3d_cal3d_CalCoreKeyframe_destroy
	public	__c3d_cal3d_CalCoreKeyframe_getTime
	public	__c3d_cal3d_CalCoreKeyframe_getTranslation
	public	__c3d_cal3d_CalCoreKeyframe_setTime
	public	__c3d_cal3d_CalCoreKeyframe_setTranslation
	public	__c3d_cal3d_CalCoreMaterial_Delete
	public	__c3d_cal3d_CalCoreMaterial_New
	public	__c3d_cal3d_CalCoreMaterial_getAmbientColor
	public	__c3d_cal3d_CalCoreMaterial_getDiffuseColor
	public	__c3d_cal3d_CalCoreMaterial_getFilename
	public	__c3d_cal3d_CalCoreMaterial_getMapCount
	public	__c3d_cal3d_CalCoreMaterial_getMapFilename
	public	__c3d_cal3d_CalCoreMaterial_getMapUserData
	public	__c3d_cal3d_CalCoreMaterial_getName
	public	__c3d_cal3d_CalCoreMaterial_getShininess
	public	__c3d_cal3d_CalCoreMaterial_getSpecularColor
	public	__c3d_cal3d_CalCoreMaterial_getUserData
	public	__c3d_cal3d_CalCoreMaterial_getVectorMap
	public	__c3d_cal3d_CalCoreMaterial_reserve
	public	__c3d_cal3d_CalCoreMaterial_setAmbientColor
	public	__c3d_cal3d_CalCoreMaterial_setDiffuseColor
	public	__c3d_cal3d_CalCoreMaterial_setFilename
	public	__c3d_cal3d_CalCoreMaterial_setMap
	public	__c3d_cal3d_CalCoreMaterial_setMapUserData
	public	__c3d_cal3d_CalCoreMaterial_setName
	public	__c3d_cal3d_CalCoreMaterial_setShininess
	public	__c3d_cal3d_CalCoreMaterial_setSpecularColor
	public	__c3d_cal3d_CalCoreMaterial_setUserData
	public	__c3d_cal3d_CalCoreMesh_Delete
	public	__c3d_cal3d_CalCoreMesh_New
	public	__c3d_cal3d_CalCoreMesh_addAsMorphTarget
	public	__c3d_cal3d_CalCoreMesh_addCoreSubmesh
	public	__c3d_cal3d_CalCoreMesh_getCoreSubmesh
	public	__c3d_cal3d_CalCoreMesh_getCoreSubmeshCount
	public	__c3d_cal3d_CalCoreMesh_getFilename
	public	__c3d_cal3d_CalCoreMesh_getName
	public	__c3d_cal3d_CalCoreMesh_getVectorCoreSubmesh
	public	__c3d_cal3d_CalCoreMesh_scale
	public	__c3d_cal3d_CalCoreMesh_setFilename
	public	__c3d_cal3d_CalCoreMesh_setName
	public	__c3d_cal3d_CalCoreModel_Delete
	public	__c3d_cal3d_CalCoreModel_New
	public	__c3d_cal3d_CalCoreModel_addAnimationName
	public	__c3d_cal3d_CalCoreModel_addBoneName
	public	__c3d_cal3d_CalCoreModel_addCoreAnimation
	public	__c3d_cal3d_CalCoreModel_addCoreMaterial
	public	__c3d_cal3d_CalCoreModel_addCoreMesh
	public	__c3d_cal3d_CalCoreModel_addCoreMorphAnimation
	public	__c3d_cal3d_CalCoreModel_addMaterialName
	public	__c3d_cal3d_CalCoreModel_addMeshName
	public	__c3d_cal3d_CalCoreModel_createCoreMaterialThread
	public	__c3d_cal3d_CalCoreModel_getBoneId
	public	__c3d_cal3d_CalCoreModel_getCoreAnimation
	public	__c3d_cal3d_CalCoreModel_getCoreAnimationCount
	public	__c3d_cal3d_CalCoreModel_getCoreAnimationId
	public	__c3d_cal3d_CalCoreModel_getCoreMaterial
	public	__c3d_cal3d_CalCoreModel_getCoreMaterialCount
	public	__c3d_cal3d_CalCoreModel_getCoreMaterialId
	public	__c3d_cal3d_CalCoreModel_getCoreMaterialIdbyID
	public	__c3d_cal3d_CalCoreModel_getCoreMesh
	public	__c3d_cal3d_CalCoreModel_getCoreMeshCount
	public	__c3d_cal3d_CalCoreModel_getCoreMeshId
	public	__c3d_cal3d_CalCoreModel_getCoreMorphAnimation
	public	__c3d_cal3d_CalCoreModel_getCoreMorphAnimationCount
	public	__c3d_cal3d_CalCoreModel_getCoreSkeleton
	public	__c3d_cal3d_CalCoreModel_getUserData
	public	__c3d_cal3d_CalCoreModel_loadCoreAnimation
	public	__c3d_cal3d_CalCoreModel_loadCoreMaterial
	public	__c3d_cal3d_CalCoreModel_loadCoreMesh
	public	__c3d_cal3d_CalCoreModel_loadCoreSkeleton
	public	__c3d_cal3d_CalCoreModel_saveCoreAnimation
	public	__c3d_cal3d_CalCoreModel_saveCoreMaterial
	public	__c3d_cal3d_CalCoreModel_saveCoreMesh
	public	__c3d_cal3d_CalCoreModel_saveCoreSkeleton
	public	__c3d_cal3d_CalCoreModel_scale
	public	__c3d_cal3d_CalCoreModel_setCoreMaterialId
	public	__c3d_cal3d_CalCoreModel_setCoreSkeleton
	public	__c3d_cal3d_CalCoreModel_setUserData
	public	__c3d_cal3d_CalCoreModel_unloadCoreAnimation
	public	__c3d_cal3d_CalCoreModel_unloadCoreAnimationbyID
	public	__c3d_cal3d_CalCoreModel_unloadCoreMaterial
	public	__c3d_cal3d_CalCoreModel_unloadCoreMaterialbyID
	public	__c3d_cal3d_CalCoreModel_unloadCoreMesh
	public	__c3d_cal3d_CalCoreModel_unloadCoreMeshbyID
	public	__c3d_cal3d_CalCoreMorphAnimation_Delete
	public	__c3d_cal3d_CalCoreMorphAnimation_New
	public	__c3d_cal3d_CalCoreMorphAnimation_addMorphTarget
	public	__c3d_cal3d_CalCoreMorphAnimation_getVectorCoreMeshID
	public	__c3d_cal3d_CalCoreMorphAnimation_getVectorMorphTargetID
	public	__c3d_cal3d_CalCoreSkeleton_Delete
	public	__c3d_cal3d_CalCoreSkeleton_New
	public	__c3d_cal3d_CalCoreSkeleton_addCoreBone
	public	__c3d_cal3d_CalCoreSkeleton_calculateBoundingBoxes
	public	__c3d_cal3d_CalCoreSkeleton_calculateState
	public	__c3d_cal3d_CalCoreSkeleton_getCoreBone
	public	__c3d_cal3d_CalCoreSkeleton_getCoreBoneId
	public	__c3d_cal3d_CalCoreSkeleton_getCoreBonebyID
	public	__c3d_cal3d_CalCoreSkeleton_getVectorCoreBone
	public	__c3d_cal3d_CalCoreSkeleton_getVectorRootCoreBoneId
	public	__c3d_cal3d_CalCoreSkeleton_mapCoreBoneName
	public	__c3d_cal3d_CalCoreSkeleton_scale
	public	__c3d_cal3d_CalCoreSubMorphTarget_Delete
	public	__c3d_cal3d_CalCoreSubMorphTarget_New
	public	__c3d_cal3d_CalCoreSubMorphTarget_getBlendVertexCount
	public	__c3d_cal3d_CalCoreSubMorphTarget_getVectorBlendVertex
	public	__c3d_cal3d_CalCoreSubMorphTarget_reserve
	public	__c3d_cal3d_CalCoreSubMorphTarget_setBlendVertex
	public	__c3d_cal3d_CalCoreSubmesh_Delete
	public	__c3d_cal3d_CalCoreSubmesh_New
	public	__c3d_cal3d_CalCoreSubmesh_UpdateTangentVector
	public	__c3d_cal3d_CalCoreSubmesh_addCoreSubMorphTarget
	public	__c3d_cal3d_CalCoreSubmesh_enableTangents
	public	__c3d_cal3d_CalCoreSubmesh_getCoreMaterialThreadId
	public	__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTarget
	public	__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTargetCount
	public	__c3d_cal3d_CalCoreSubmesh_getFaceCount
	public	__c3d_cal3d_CalCoreSubmesh_getLodCount
	public	__c3d_cal3d_CalCoreSubmesh_getSpringCount
	public	__c3d_cal3d_CalCoreSubmesh_getVectorCoreSubMorphTarget
	public	__c3d_cal3d_CalCoreSubmesh_getVectorFace
	public	__c3d_cal3d_CalCoreSubmesh_getVectorPhysicalProperty
	public	__c3d_cal3d_CalCoreSubmesh_getVectorSpring
	public	__c3d_cal3d_CalCoreSubmesh_getVectorVectorTangentSpace
	public	__c3d_cal3d_CalCoreSubmesh_getVectorVectorTextureCoordinate
	public	__c3d_cal3d_CalCoreSubmesh_getVectorVertex
	public	__c3d_cal3d_CalCoreSubmesh_getVertexCount
	public	__c3d_cal3d_CalCoreSubmesh_isTangentsEnabled
	public	__c3d_cal3d_CalCoreSubmesh_reserve
	public	__c3d_cal3d_CalCoreSubmesh_scale
	public	__c3d_cal3d_CalCoreSubmesh_setCoreMaterialThreadId
	public	__c3d_cal3d_CalCoreSubmesh_setFace
	public	__c3d_cal3d_CalCoreSubmesh_setLodCount
	public	__c3d_cal3d_CalCoreSubmesh_setPhysicalProperty
	public	__c3d_cal3d_CalCoreSubmesh_setSpring
	public	__c3d_cal3d_CalCoreSubmesh_setTangentSpace
	public	__c3d_cal3d_CalCoreSubmesh_setTextureCoordinate
	public	__c3d_cal3d_CalCoreSubmesh_setVertex
	public	__c3d_cal3d_CalCoreTrack_Create
	public	__c3d_cal3d_CalCoreTrack_Delete
	public	__c3d_cal3d_CalCoreTrack_New
	public	__c3d_cal3d_CalCoreTrack_addCoreKeyframe
	public	__c3d_cal3d_CalCoreTrack_destroy
	public	__c3d_cal3d_CalCoreTrack_getCoreBoneId
	public	__c3d_cal3d_CalCoreTrack_getCoreKeyframe
	public	__c3d_cal3d_CalCoreTrack_getCoreKeyframeCount
	public	__c3d_cal3d_CalCoreTrack_getState
	public	__c3d_cal3d_CalCoreTrack_getUpperBound
	public	__c3d_cal3d_CalCoreTrack_removeCoreKeyFrame
	public	__c3d_cal3d_CalCoreTrack_scale
	public	__c3d_cal3d_CalCoreTrack_setCoreBoneId
	public	__c3d_cal3d_CalFace_Delete
	public	__c3d_cal3d_CalFace_FromArr
	public	__c3d_cal3d_CalFace_FromCoords
	public	__c3d_cal3d_CalFace_FromFace
	public	__c3d_cal3d_CalFace_New
	public	__c3d_cal3d_CalInfluence_Delete
	public	__c3d_cal3d_CalInfluence_FromCoords
	public	__c3d_cal3d_CalInfluence_New
	public	__c3d_cal3d_CalMap_Delete
	public	__c3d_cal3d_CalMap_New
	public	__c3d_cal3d_CalMatrix_Delete
	public	__c3d_cal3d_CalMatrix_FromMat
	public	__c3d_cal3d_CalMatrix_New
	public	__c3d_cal3d_CalMatrix_assign
	public	__c3d_cal3d_CalMatrix_blend
	public	__c3d_cal3d_CalMatrix_det
	public	__c3d_cal3d_CalMatrix_multMatrixLocal
	public	__c3d_cal3d_CalMatrix_multScalarLocal
	public	__c3d_cal3d_CalMesh_Delete
	public	__c3d_cal3d_CalMesh_FromCore
	public	__c3d_cal3d_CalMesh_New
	public	__c3d_cal3d_CalMesh_disableInternalData
	public	__c3d_cal3d_CalMesh_getCoreMesh
	public	__c3d_cal3d_CalMesh_getSubmesh
	public	__c3d_cal3d_CalMesh_getSubmeshCount
	public	__c3d_cal3d_CalMesh_getVectorSubmesh
	public	__c3d_cal3d_CalMesh_setLodLevel
	public	__c3d_cal3d_CalMesh_setMaterialSet
	public	__c3d_cal3d_CalMesh_setModel
	public	__c3d_cal3d_CalMinMax_Delete
	public	__c3d_cal3d_CalMinMax_New
	public	__c3d_cal3d_CalMixer_Delete
	public	__c3d_cal3d_CalMixer_FromModel
	public	__c3d_cal3d_CalMixer_New
	public	__c3d_cal3d_CalMixer_blendCycle
	public	__c3d_cal3d_CalMixer_clearCycle
	public	__c3d_cal3d_CalMixer_executeAction
	public	__c3d_cal3d_CalMixer_getAnimationActionList
	public	__c3d_cal3d_CalMixer_getAnimationCycle
	public	__c3d_cal3d_CalMixer_getAnimationDuration
	public	__c3d_cal3d_CalMixer_getAnimationTime
	public	__c3d_cal3d_CalMixer_getAnimationVector
	public	__c3d_cal3d_CalMixer_getCalModel
	public	__c3d_cal3d_CalMixer_getTimeFactor
	public	__c3d_cal3d_CalMixer_isDefaultMixer
	public	__c3d_cal3d_CalMixer_removeAction
	public	__c3d_cal3d_CalMixer_setAnimationTime
	public	__c3d_cal3d_CalMixer_setTimeFactor
	public	__c3d_cal3d_CalMixer_updateAnimation
	public	__c3d_cal3d_CalMixer_updateSkeleton
	public	__c3d_cal3d_CalModel_Delete
	public	__c3d_cal3d_CalModel_FromCore
	public	__c3d_cal3d_CalModel_New
	public	__c3d_cal3d_CalModel_attachMesh
	public	__c3d_cal3d_CalModel_detachMesh
	public	__c3d_cal3d_CalModel_disableInternalData
	public	__c3d_cal3d_CalModel_getAbstractMixer
	public	__c3d_cal3d_CalModel_getBoundingBox
	public	__c3d_cal3d_CalModel_getCoreModel
	public	__c3d_cal3d_CalModel_getMesh
	public	__c3d_cal3d_CalModel_getMixer
	public	__c3d_cal3d_CalModel_getMorphTargetMixer
	public	__c3d_cal3d_CalModel_getPhysique
	public	__c3d_cal3d_CalModel_getRenderer
	public	__c3d_cal3d_CalModel_getSkeleton
	public	__c3d_cal3d_CalModel_getSpringSystem
	public	__c3d_cal3d_CalModel_getUserData
	public	__c3d_cal3d_CalModel_getVectorMesh
	public	__c3d_cal3d_CalModel_setAbstractMixer
	public	__c3d_cal3d_CalModel_setLodLevel
	public	__c3d_cal3d_CalModel_setMaterialSet
	public	__c3d_cal3d_CalModel_setUserData
	public	__c3d_cal3d_CalModel_update
	public	__c3d_cal3d_CalMorphTargetMixer_Delete
	public	__c3d_cal3d_CalMorphTargetMixer_FromModel
	public	__c3d_cal3d_CalMorphTargetMixer_New
	public	__c3d_cal3d_CalMorphTargetMixer_blend
	public	__c3d_cal3d_CalMorphTargetMixer_clear
	public	__c3d_cal3d_CalMorphTargetMixer_getCurrentWeight
	public	__c3d_cal3d_CalMorphTargetMixer_getCurrentWeightBase
	public	__c3d_cal3d_CalMorphTargetMixer_getMorphTargetCount
	public	__c3d_cal3d_CalMorphTargetMixer_update
	public	__c3d_cal3d_CalPhysicalProperty_Delete
	public	__c3d_cal3d_CalPhysicalProperty_FromCoords
	public	__c3d_cal3d_CalPhysicalProperty_FromWeight
	public	__c3d_cal3d_CalPhysicalProperty_New
	public	__c3d_cal3d_CalPhysique_Delete
	public	__c3d_cal3d_CalPhysique_FromModel
	public	__c3d_cal3d_CalPhysique_New
	public	__c3d_cal3d_CalPhysique_calculateNormals
	public	__c3d_cal3d_CalPhysique_calculateTangentSpaces
	public	__c3d_cal3d_CalPhysique_calculateTangentSpacesInternal
	public	__c3d_cal3d_CalPhysique_calculateVertex
	public	__c3d_cal3d_CalPhysique_calculateVertices
	public	__c3d_cal3d_CalPhysique_calculateVerticesAndNormals
	public	__c3d_cal3d_CalPhysique_calculateVerticesAndNormalsInternal
	public	__c3d_cal3d_CalPhysique_calculateVerticesNormalsAndTexCoords
	public	__c3d_cal3d_CalPhysique_setAxisFactorX
	public	__c3d_cal3d_CalPhysique_setAxisFactorY
	public	__c3d_cal3d_CalPhysique_setAxisFactorZ
	public	__c3d_cal3d_CalPhysique_setNormalization
	public	__c3d_cal3d_CalPhysique_update
	public	__c3d_cal3d_CalPlane_Delete
	public	__c3d_cal3d_CalPlane_New
	public	__c3d_cal3d_CalPlane_dist
	public	__c3d_cal3d_CalPlane_eval
	public	__c3d_cal3d_CalPlane_setNormal
	public	__c3d_cal3d_CalPlane_setPosition
	public	__c3d_cal3d_CalQuaternion_Delete
	public	__c3d_cal3d_CalQuaternion_FromCoords
	public	__c3d_cal3d_CalQuaternion_FromQuat
	public	__c3d_cal3d_CalQuaternion_New
	public	__c3d_cal3d_CalQuaternion_assign
	public	__c3d_cal3d_CalQuaternion_blend
	public	__c3d_cal3d_CalQuaternion_clear
	public	__c3d_cal3d_CalQuaternion_conjugate
	public	__c3d_cal3d_CalQuaternion_equalTo
	public	__c3d_cal3d_CalQuaternion_invert
	public	__c3d_cal3d_CalQuaternion_multQuaternionLocal
	public	__c3d_cal3d_CalQuaternion_multVectorLocal
	public	__c3d_cal3d_CalRenderer_Delete
	public	__c3d_cal3d_CalRenderer_FromModel
	public	__c3d_cal3d_CalRenderer_FromRenderer
	public	__c3d_cal3d_CalRenderer_New
	public	__c3d_cal3d_CalRenderer_beginRendering
	public	__c3d_cal3d_CalRenderer_endRendering
	public	__c3d_cal3d_CalRenderer_getAmbientColor
	public	__c3d_cal3d_CalRenderer_getDiffuseColor
	public	__c3d_cal3d_CalRenderer_getFaceCount
	public	__c3d_cal3d_CalRenderer_getFaces
	public	__c3d_cal3d_CalRenderer_getMapCount
	public	__c3d_cal3d_CalRenderer_getMapUserData
	public	__c3d_cal3d_CalRenderer_getMeshCount
	public	__c3d_cal3d_CalRenderer_getNormals
	public	__c3d_cal3d_CalRenderer_getShininess
	public	__c3d_cal3d_CalRenderer_getSpecularColor
	public	__c3d_cal3d_CalRenderer_getSubmeshCount
	public	__c3d_cal3d_CalRenderer_getTangentSpaces
	public	__c3d_cal3d_CalRenderer_getTextureCoordinates
	public	__c3d_cal3d_CalRenderer_getVertexCount
	public	__c3d_cal3d_CalRenderer_getVertices
	public	__c3d_cal3d_CalRenderer_getVerticesAndNormals
	public	__c3d_cal3d_CalRenderer_getVerticesNormalsAndTexCoords
	public	__c3d_cal3d_CalRenderer_isTangentsEnabled
	public	__c3d_cal3d_CalRenderer_selectMeshSubmesh
	public	__c3d_cal3d_CalRenderer_setNormalization
	public	__c3d_cal3d_CalSkeleton_Create
	public	__c3d_cal3d_CalSkeleton_Delete
	public	__c3d_cal3d_CalSkeleton_FromCore
	public	__c3d_cal3d_CalSkeleton_New
	public	__c3d_cal3d_CalSkeleton_calculateBoundingBoxes
	public	__c3d_cal3d_CalSkeleton_calculateState
	public	__c3d_cal3d_CalSkeleton_clearState
	public	__c3d_cal3d_CalSkeleton_getBone
	public	__c3d_cal3d_CalSkeleton_getBoneBoundingBox
	public	__c3d_cal3d_CalSkeleton_getBoneCount
	public	__c3d_cal3d_CalSkeleton_getBoneLines
	public	__c3d_cal3d_CalSkeleton_getBoneLinesStatic
	public	__c3d_cal3d_CalSkeleton_getBonePoints
	public	__c3d_cal3d_CalSkeleton_getBonePointsStatic
	public	__c3d_cal3d_CalSkeleton_getCoreSkeleton
	public	__c3d_cal3d_CalSkeleton_getVectorBone
	public	__c3d_cal3d_CalSkeleton_lockState
	public	__c3d_cal3d_CalSpringSystem_Delete
	public	__c3d_cal3d_CalSpringSystem_FromModel
	public	__c3d_cal3d_CalSpringSystem_New
	public	__c3d_cal3d_CalSpringSystem_calculateForces
	public	__c3d_cal3d_CalSpringSystem_calculateVertices
	public	__c3d_cal3d_CalSpringSystem_getForceVector
	public	__c3d_cal3d_CalSpringSystem_getGravityVector
	public	__c3d_cal3d_CalSpringSystem_setCollisionDetection
	public	__c3d_cal3d_CalSpringSystem_setForceVector
	public	__c3d_cal3d_CalSpringSystem_setGravityVector
	public	__c3d_cal3d_CalSpringSystem_update
	public	__c3d_cal3d_CalSpring_Delete
	public	__c3d_cal3d_CalSpring_FromArr
	public	__c3d_cal3d_CalSpring_FromCoords
	public	__c3d_cal3d_CalSpring_New
	public	__c3d_cal3d_CalSubmesh_Delete
	public	__c3d_cal3d_CalSubmesh_FromCore
	public	__c3d_cal3d_CalSubmesh_New
	public	__c3d_cal3d_CalSubmesh_disableInternalData
	public	__c3d_cal3d_CalSubmesh_enableTangents
	public	__c3d_cal3d_CalSubmesh_getBaseWeight
	public	__c3d_cal3d_CalSubmesh_getCoreMaterialId
	public	__c3d_cal3d_CalSubmesh_getCoreSubmesh
	public	__c3d_cal3d_CalSubmesh_getFaceCount
	public	__c3d_cal3d_CalSubmesh_getFaces
	public	__c3d_cal3d_CalSubmesh_getMorphTargetWeight
	public	__c3d_cal3d_CalSubmesh_getMorphTargetWeightCount
	public	__c3d_cal3d_CalSubmesh_getVectorMorphTargetWeight
	public	__c3d_cal3d_CalSubmesh_getVectorNormal
	public	__c3d_cal3d_CalSubmesh_getVectorPhysicalProperty
	public	__c3d_cal3d_CalSubmesh_getVectorVectorTangentSpace
	public	__c3d_cal3d_CalSubmesh_getVectorVertex
	public	__c3d_cal3d_CalSubmesh_getVectorWeight
	public	__c3d_cal3d_CalSubmesh_getVertexCount
	public	__c3d_cal3d_CalSubmesh_hasInternalData
	public	__c3d_cal3d_CalSubmesh_isTangentsEnabled
	public	__c3d_cal3d_CalSubmesh_setCoreMaterialId
	public	__c3d_cal3d_CalSubmesh_setLodLevel
	public	__c3d_cal3d_CalSubmesh_setMorphTargetWeight
	public	__c3d_cal3d_CalTangentSpace_Delete
	public	__c3d_cal3d_CalTangentSpace_FromCoords
	public	__c3d_cal3d_CalTangentSpace_FromVector
	public	__c3d_cal3d_CalTangentSpace_New
	public	__c3d_cal3d_CalTextureCoordinate_Delete
	public	__c3d_cal3d_CalTextureCoordinate_FromCoords
	public	__c3d_cal3d_CalTextureCoordinate_FromUV
	public	__c3d_cal3d_CalTextureCoordinate_New
	public	__c3d_cal3d_CalVector_Delete
	public	__c3d_cal3d_CalVector_FromCoords
	public	__c3d_cal3d_CalVector_FromVector
	public	__c3d_cal3d_CalVector_New
	public	__c3d_cal3d_CalVector_addLocal
	public	__c3d_cal3d_CalVector_assign
	public	__c3d_cal3d_CalVector_assigncoords
	public	__c3d_cal3d_CalVector_assignvector
	public	__c3d_cal3d_CalVector_blend
	public	__c3d_cal3d_CalVector_clear
	public	__c3d_cal3d_CalVector_divScalarLocal
	public	__c3d_cal3d_CalVector_equalTo
	public	__c3d_cal3d_CalVector_length
	public	__c3d_cal3d_CalVector_multMatrixLocal
	public	__c3d_cal3d_CalVector_multQuaternionLocal
	public	__c3d_cal3d_CalVector_multScalarLocal
	public	__c3d_cal3d_CalVector_normalize
	public	__c3d_cal3d_CalVector_subLocal
	public	__c3d_cal3d_CalVertex_Delete
	public	__c3d_cal3d_CalVertex_FromData
	public	__c3d_cal3d_CalVertex_FromVector
	public	__c3d_cal3d_CalVertex_New
	public	__c3d_cal3d_CalVertex_assign
	public	__c3d_cal3d_CalVertex_assignVector
	public	__c3d_cal3d_DeltaTimer_CreateDelta
	public	__c3d_cal3d_DeltaTimer_Delete
	public	__c3d_cal3d_DeltaTimer_New
	public	__c3d_cal3d_DeltaTimer_UpdateDelta
	public	__c3d_cal3d_IntMap_Add
	public	__c3d_cal3d_IntMap_Contains
	public	__c3d_cal3d_IntMap_Delete
	public	__c3d_cal3d_IntMap_Get
	public	__c3d_cal3d_IntMap_New
	public	__c3d_cal3d_IntMap_Set
	public	__c3d_cal3d_IntNode_Delete
	public	__c3d_cal3d_IntNode_FromData
	public	__c3d_cal3d_IntNode_New
	public	__c3d_cal3d_StringMap_Add
	public	__c3d_cal3d_StringMap_Contains
	public	__c3d_cal3d_StringMap_Delete
	public	__c3d_cal3d_StringMap_Get
	public	__c3d_cal3d_StringMap_New
	public	__c3d_cal3d_StringMap_Set
	public	__c3d_cal3d_StringNode_Delete
	public	__c3d_cal3d_StringNode_FromData
	public	__c3d_cal3d_StringNode_New
	public	_c3d_cal3d_CalAbstractMixer
	public	_c3d_cal3d_CalAnimation
	public	_c3d_cal3d_CalAnimationAction
	public	_c3d_cal3d_CalAnimationCallback
	public	_c3d_cal3d_CalAnimationCycle
	public	_c3d_cal3d_CalAnimationState
	public	_c3d_cal3d_CalAnimationType
	public	_c3d_cal3d_CalBlendVertex
	public	_c3d_cal3d_CalBone
	public	_c3d_cal3d_CalBoundingBox
	public	_c3d_cal3d_CalCallbackRecord
	public	_c3d_cal3d_CalColor
	public	_c3d_cal3d_CalCoreAnimation
	public	_c3d_cal3d_CalCoreBone
	public	_c3d_cal3d_CalCoreKeyframe
	public	_c3d_cal3d_CalCoreMaterial
	public	_c3d_cal3d_CalCoreMesh
	public	_c3d_cal3d_CalCoreModel
	public	_c3d_cal3d_CalCoreMorphAnimation
	public	_c3d_cal3d_CalCoreSkeleton
	public	_c3d_cal3d_CalCoreSubMorphTarget
	public	_c3d_cal3d_CalCoreSubmesh
	public	_c3d_cal3d_CalCoreTrack
	public	_c3d_cal3d_CalFace
	public	_c3d_cal3d_CalInfluence
	public	_c3d_cal3d_CalMap
	public	_c3d_cal3d_CalMatrix
	public	_c3d_cal3d_CalMesh
	public	_c3d_cal3d_CalMinMax
	public	_c3d_cal3d_CalMixer
	public	_c3d_cal3d_CalModel
	public	_c3d_cal3d_CalMorphTargetMixer
	public	_c3d_cal3d_CalPhysicalProperty
	public	_c3d_cal3d_CalPhysique
	public	_c3d_cal3d_CalPlane
	public	_c3d_cal3d_CalQuaternion
	public	_c3d_cal3d_CalRenderer
	public	_c3d_cal3d_CalSkeleton
	public	_c3d_cal3d_CalSpring
	public	_c3d_cal3d_CalSpringSystem
	public	_c3d_cal3d_CalSubmesh
	public	_c3d_cal3d_CalTangentSpace
	public	_c3d_cal3d_CalTextureCoordinate
	public	_c3d_cal3d_CalVector
	public	_c3d_cal3d_CalVertex
	public	_c3d_cal3d_DeltaTimer
	public	_c3d_cal3d_IntMap
	public	_c3d_cal3d_IntNode
	public	_c3d_cal3d_Modf
	public	_c3d_cal3d_StringMap
	public	_c3d_cal3d_StringNode
	public	_c3d_cal3d_addExtraKeyframeForLoopedAnim
	public	_c3d_cal3d_quaternionMult
	public	_c3d_cal3d_shortestArc
	public	_c3d_cal3d_vectorAdd
	public	_c3d_cal3d_vectorCross
	public	_c3d_cal3d_vectorDot
	public	_c3d_cal3d_vectorScalarDiv
	public	_c3d_cal3d_vectorScalarMult
	public	_c3d_cal3d_vectorSub
	public	_c3d_cal3d_vectorSubVert
	section	"code" code
___bb_cal3d_cal3d:
	push	ebp
	mov	ebp,esp
	cmp	dword [_3296],0
	je	_3297
	mov	eax,0
	mov	esp,ebp
	pop	ebp
	ret
_3297:
	mov	dword [_3296],1
	call	___bb_blitz_blitz
	call	___bb_math_math
	push	_c3d_cal3d_CalMatrix
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalVector
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalTextureCoordinate
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalInfluence
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalPhysicalProperty
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalVertex
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalFace
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalSpring
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalPlane
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_StringMap
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_StringNode
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_IntMap
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_IntNode
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreMaterial
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalColor
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalMap
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreSubmesh
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreMesh
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreBone
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreSkeleton
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreModel
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreAnimation
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCallbackRecord
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreKeyframe
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreTrack
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreMorphAnimation
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreSubMorphTarget
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalBlendVertex
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalSubmesh
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalMesh
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalBone
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalSkeleton
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalMinMax
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalModel
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimation
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimationCallback
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimationAction
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimationCycle
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimationType
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimationState
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAbstractMixer
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalMixer
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalMorphTargetMixer
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalPhysique
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalSpringSystem
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalRenderer
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_DeltaTimer
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,0
	jmp	_1297
_1297:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalMatrix
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	fld1
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fld1
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	fldz
	fstp	dword [ebx+36]
	fld1
	fstp	dword [ebx+40]
	mov	eax,0
	jmp	_1300
_1300:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_Delete:
	push	ebp
	mov	ebp,esp
_1303:
	mov	eax,0
	jmp	_3298
_3298:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_FromMat:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalMatrix
	call	_bbObjectNew
	add	esp,4
	fld1
	fstp	dword [eax+8]
	fldz
	fstp	dword [eax+12]
	fldz
	fstp	dword [eax+16]
	fldz
	fstp	dword [eax+20]
	fld1
	fstp	dword [eax+24]
	fldz
	fstp	dword [eax+28]
	fldz
	fstp	dword [eax+32]
	fldz
	fstp	dword [eax+36]
	fld1
	fstp	dword [eax+40]
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fstp	dword [eax+16]
	fld	dword [ebx+20]
	fstp	dword [eax+20]
	fld	dword [ebx+24]
	fstp	dword [eax+24]
	fld	dword [ebx+28]
	fstp	dword [eax+28]
	fld	dword [ebx+32]
	fstp	dword [eax+32]
	fld	dword [ebx+36]
	fstp	dword [eax+36]
	fld	dword [ebx+40]
	fstp	dword [eax+40]
	jmp	_1306
_1306:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_assign:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fmul	dword [eax+8]
	fmul	dword [_7307]
	fstp	dword [ebp-12]
	fld	dword [eax+12]
	fmul	dword [eax+12]
	fmul	dword [_7308]
	fld	dword [eax+16]
	fmul	dword [eax+16]
	fmul	dword [_7309]
	fld	dword [eax+8]
	fmul	dword [eax+12]
	fmul	dword [_7310]
	fstp	dword [ebp-4]
	fld	dword [eax+16]
	fmul	dword [eax+20]
	fmul	dword [_7311]
	fld	dword [eax+8]
	fmul	dword [eax+16]
	fmul	dword [_7312]
	fld	dword [eax+12]
	fmul	dword [eax+20]
	fmul	dword [_7313]
	fld	dword [eax+12]
	fmul	dword [eax+16]
	fmul	dword [_7314]
	fstp	dword [ebp-8]
	fld	dword [eax+8]
	fmul	dword [eax+20]
	fmul	dword [_7315]
	fld	dword [_7316]
	fsub	st0,st6
	fsub	st0,st5
	fstp	dword [edx+8]
	fld	dword [ebp-4]
	fadd	st0,st4
	fstp	dword [edx+20]
	fld	st2
	fsub	st0,st2
	fstp	dword [edx+32]
	fld	dword [ebp-4]
	fsubrp	st4,st0
	fxch	st3
	fstp	dword [edx+12]
	fld	dword [_7317]
	fsub	dword [ebp-12]
	fsubrp	st4,st0
	fxch	st3
	fstp	dword [edx+24]
	fld	dword [ebp-8]
	fadd	st0,st2
	fstp	dword [edx+36]
	faddp	st2,st0
	fxch	st1
	fstp	dword [edx+16]
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [edx+28]
	fld	dword [_7318]
	fsub	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [edx+40]
	mov	eax,0
	jmp	_1310
_1310:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_multMatrixLocal:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [edx+8]
	fmul	dword [eax+8]
	fld	dword [edx+20]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [edx+32]
	fmul	dword [eax+16]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [edx+12]
	fmul	dword [eax+8]
	fld	dword [edx+24]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [edx+36]
	fmul	dword [eax+16]
	faddp	st1,st0
	fld	dword [edx+16]
	fmul	dword [eax+8]
	fld	dword [edx+28]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [edx+40]
	fmul	dword [eax+16]
	faddp	st1,st0
	fld	dword [edx+8]
	fmul	dword [eax+20]
	fld	dword [edx+20]
	fmul	dword [eax+24]
	faddp	st1,st0
	fld	dword [edx+32]
	fmul	dword [eax+28]
	faddp	st1,st0
	fld	dword [edx+12]
	fmul	dword [eax+20]
	fld	dword [edx+24]
	fmul	dword [eax+24]
	faddp	st1,st0
	fld	dword [edx+36]
	fmul	dword [eax+28]
	faddp	st1,st0
	fld	dword [edx+16]
	fmul	dword [eax+20]
	fld	dword [edx+28]
	fmul	dword [eax+24]
	faddp	st1,st0
	fld	dword [edx+40]
	fmul	dword [eax+28]
	faddp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [edx+8]
	fmul	dword [eax+32]
	fld	dword [edx+20]
	fmul	dword [eax+36]
	faddp	st1,st0
	fld	dword [edx+32]
	fmul	dword [eax+40]
	faddp	st1,st0
	fld	dword [edx+12]
	fmul	dword [eax+32]
	fld	dword [edx+24]
	fmul	dword [eax+36]
	faddp	st1,st0
	fld	dword [edx+36]
	fmul	dword [eax+40]
	faddp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [edx+16]
	fmul	dword [eax+32]
	fld	dword [edx+28]
	fmul	dword [eax+36]
	faddp	st1,st0
	fld	dword [edx+40]
	fmul	dword [eax+40]
	faddp	st1,st0
	fld	dword [ebp-8]
	fstp	dword [eax+8]
	fxch	st5
	fstp	dword [eax+12]
	fxch	st3
	fstp	dword [eax+16]
	fxch	st1
	fstp	dword [eax+20]
	fstp	dword [eax+24]
	fld	dword [ebp-12]
	fstp	dword [eax+28]
	fstp	dword [eax+32]
	fld	dword [ebp-4]
	fstp	dword [eax+36]
	fstp	dword [eax+40]
	jmp	_1314
_1314:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_multScalarLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [eax+8]
	fmul	st0,st1
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fmul	st0,st1
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fmul	st0,st1
	fstp	dword [eax+16]
	fld	dword [eax+20]
	fmul	st0,st1
	fstp	dword [eax+20]
	fld	dword [eax+24]
	fmul	st0,st1
	fstp	dword [eax+24]
	fld	dword [eax+28]
	fmul	st0,st1
	fstp	dword [eax+28]
	fld	dword [eax+32]
	fmul	st0,st1
	fstp	dword [eax+32]
	fld	dword [eax+36]
	fmul	st0,st1
	fstp	dword [eax+36]
	fld	dword [eax+40]
	fmulp	st1,st0
	fstp	dword [eax+40]
	jmp	_1318
_1318:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_blend:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	fld	dword [ebp+12]
	mov	eax,dword [ebp+16]
	fld	dword [edx+8]
	fld	dword [eax+8]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+8]
	fld	dword [edx+12]
	fld	dword [eax+12]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+12]
	fld	dword [edx+16]
	fld	dword [eax+16]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+16]
	fld	dword [edx+20]
	fld	dword [eax+20]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+20]
	fld	dword [edx+24]
	fld	dword [eax+24]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+24]
	fld	dword [edx+28]
	fld	dword [eax+28]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+28]
	fld	dword [edx+32]
	fld	dword [eax+32]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+32]
	fld	dword [edx+36]
	fld	dword [eax+36]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+36]
	fld	dword [edx+40]
	fld	dword [eax+40]
	fmulp	st2,st0
	faddp	st1,st0
	fstp	dword [edx+40]
	mov	eax,0
	jmp	_1323
_1323:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_det:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	fld	dword [eax+24]
	fmul	dword [eax+40]
	fld	dword [eax+36]
	fmul	dword [eax+28]
	fsubp	st1,st0
	fmulp	st1,st0
	fld	dword [eax+20]
	fld	dword [eax+12]
	fmul	dword [eax+40]
	fld	dword [eax+16]
	fmul	dword [eax+36]
	fsubp	st1,st0
	fmulp	st1,st0
	fsubp	st1,st0
	fld	dword [eax+32]
	fld	dword [eax+12]
	fmul	dword [eax+28]
	fld	dword [eax+16]
	fmul	dword [eax+24]
	fsubp	st1,st0
	fmulp	st1,st0
	faddp	st1,st0
	jmp	_1326
_1326:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalQuaternion
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fld1
	fstp	dword [ebx+20]
	mov	eax,0
	jmp	_1329
_1329:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_Delete:
	push	ebp
	mov	ebp,esp
_1332:
	mov	eax,0
	jmp	_3318
_3318:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_FromQuat:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fstp	dword [eax+16]
	fld	dword [ebx+20]
	fstp	dword [eax+20]
	jmp	_1335
_1335:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_FromCoords:
	push	ebp
	mov	ebp,esp
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebp+16]
	fstp	dword [eax+16]
	fld	dword [ebp+20]
	fstp	dword [eax+20]
	jmp	_1341
_1341:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_assign:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fstp	dword [edx+8]
	fld	dword [eax+12]
	fstp	dword [edx+12]
	fld	dword [eax+16]
	fstp	dword [edx+16]
	fld	dword [eax+20]
	fstp	dword [edx+20]
	mov	eax,0
	jmp	_1345
_1345:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_multQuaternionLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [eax+8]
	fld	dword [eax+12]
	fld	dword [eax+16]
	fld	dword [eax+20]
	fld	st0
	fmul	dword [edx+8]
	fld	st4
	fmul	dword [edx+20]
	faddp	st1,st0
	fld	st3
	fmul	dword [edx+16]
	faddp	st1,st0
	fld	st2
	fmul	dword [edx+12]
	fsubp	st1,st0
	fstp	dword [eax+8]
	fld	st0
	fmul	dword [edx+12]
	fld	st4
	fmul	dword [edx+16]
	fsubp	st1,st0
	fld	st3
	fmul	dword [edx+20]
	faddp	st1,st0
	fld	st2
	fmul	dword [edx+8]
	faddp	st1,st0
	fstp	dword [eax+12]
	fld	st0
	fmul	dword [edx+16]
	fld	st4
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	st3
	fmul	dword [edx+8]
	fsubp	st1,st0
	fld	st2
	fmul	dword [edx+20]
	faddp	st1,st0
	fstp	dword [eax+16]
	fmul	dword [edx+20]
	fxch	st3
	fmul	dword [edx+8]
	fsubp	st3,st0
	fxch	st1
	fmul	dword [edx+12]
	fsubp	st2,st0
	fmul	dword [edx+16]
	fsubp	st1,st0
	fstp	dword [eax+20]
	jmp	_1349
_1349:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_multVectorLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [eax+8]
	fld	dword [eax+12]
	fld	dword [eax+16]
	fld	dword [eax+20]
	fld	st0
	fmul	dword [edx+8]
	fld	st3
	fmul	dword [edx+16]
	faddp	st1,st0
	fld	st2
	fmul	dword [edx+12]
	fsubp	st1,st0
	fstp	dword [eax+8]
	fld	st0
	fmul	dword [edx+12]
	fld	st4
	fmul	dword [edx+16]
	fsubp	st1,st0
	fld	st2
	fmul	dword [edx+8]
	faddp	st1,st0
	fstp	dword [eax+12]
	fmul	dword [edx+16]
	fld	st3
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	st2
	fmul	dword [edx+8]
	fsubp	st1,st0
	fstp	dword [eax+16]
	fxch	st2
	fchs
	fmul	dword [edx+8]
	fxch	st1
	fmul	dword [edx+12]
	fsubp	st1,st0
	fxch	st1
	fmul	dword [edx+16]
	fsubp	st1,st0
	fstp	dword [eax+20]
	jmp	_1353
_1353:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_equalTo:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ecx+8]
	fld	dword [edx+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_3329
	fld	dword [ecx+12]
	fld	dword [edx+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3329:
	cmp	eax,0
	je	_3331
	fld	dword [ecx+16]
	fld	dword [edx+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3331:
	cmp	eax,0
	je	_3333
	fld	dword [ecx+20]
	fld	dword [edx+20]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3333:
	cmp	eax,0
	je	_3335
	mov	byte [ebp-4],1
	jmp	_1357
_3335:
	mov	byte [ebp-4],0
	jmp	_1357
_1357:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_blend:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+16]
	mov	byte [ebp-4],0
	fld	dword [esi+8]
	fmul	dword [ebx+8]
	fld	dword [esi+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fld	dword [esi+16]
	fmul	dword [ebx+16]
	faddp	st1,st0
	fld	dword [esi+20]
	fmul	dword [ebx+20]
	faddp	st1,st0
	mov	byte [ebp-4],0
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3339
	fchs
	mov	byte [ebp-4],1
_3339:
	fld	dword [_7380]
	fsub	st0,st1
	fld	dword [_7381]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3341
	fstp	st0
	fld	dword [_7382]
	fsub	dword [ebp+12]
	fstp	dword [ebp-24]
	jmp	_3342
_3341:
	sub	esp,8
	fstp	qword [esp]
	call	_bbACos
	add	esp,8
	fstp	dword [ebp-16]
	fld1
	fstp	qword [ebp-12]
	fld	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	fstp	dword [ebp-20]
	fld	dword [_7383]
	fsub	dword [ebp+12]
	fmul	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-20]
	fmulp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [ebp+12]
	fmul	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-20]
	fmulp	st1,st0
	fstp	dword [ebp+12]
_3342:
	movzx	eax,byte [ebp-4]
	cmp	eax,0
	je	_3345
	fld	dword [ebp+12]
	fchs
	fstp	dword [ebp+12]
_3345:
	fld	dword [ebp-24]
	fmul	dword [esi+8]
	fld	dword [ebp+12]
	fmul	dword [ebx+8]
	faddp	st1,st0
	fstp	dword [esi+8]
	fld	dword [ebp-24]
	fmul	dword [esi+12]
	fld	dword [ebp+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fstp	dword [esi+12]
	fld	dword [ebp-24]
	fmul	dword [esi+16]
	fld	dword [ebp+12]
	fmul	dword [ebx+16]
	faddp	st1,st0
	fstp	dword [esi+16]
	fld	dword [ebp-24]
	fmul	dword [esi+20]
	fld	dword [ebp+12]
	fmul	dword [ebx+20]
	faddp	st1,st0
	fstp	dword [esi+20]
	mov	eax,0
	jmp	_1362
_1362:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_clear:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fldz
	fstp	dword [eax+8]
	fldz
	fstp	dword [eax+12]
	fldz
	fstp	dword [eax+16]
	fld1
	fstp	dword [eax+20]
	mov	eax,0
	jmp	_1365
_1365:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_conjugate:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	fchs
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fchs
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fchs
	fstp	dword [eax+16]
	mov	eax,0
	jmp	_1368
_1368:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_invert:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,4
	fld	dword [ebx+8]
	fmul	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fld	dword [ebx+16]
	fmul	dword [ebx+16]
	faddp	st1,st0
	fld	dword [ebx+20]
	fmul	dword [ebx+20]
	faddp	st1,st0
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_3348
	fstp	st0
	mov	eax,0
	jmp	_1371
_3348:
	fld	dword [_7395]
	fdivrp	st1,st0
	fld	dword [ebx+8]
	fmul	st0,st1
	fstp	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	st0,st1
	fstp	dword [ebx+12]
	fld	dword [ebx+16]
	fmul	st0,st1
	fstp	dword [ebx+16]
	fld	dword [ebx+20]
	fmulp	st1,st0
	fstp	dword [ebx+20]
	mov	eax,0
	jmp	_1371
_1371:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_quaternionMult:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+20]
	fmul	dword [edx+20]
	fld	dword [eax+8]
	fmul	dword [edx+8]
	fsubp	st1,st0
	fld	dword [eax+12]
	fmul	dword [edx+12]
	fsubp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+16]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+20]
	fmul	dword [edx+16]
	fld	dword [eax+8]
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	dword [eax+12]
	fmul	dword [edx+8]
	fsubp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+20]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+20]
	fmul	dword [edx+12]
	fld	dword [eax+8]
	fmul	dword [edx+16]
	fsubp	st1,st0
	fld	dword [eax+12]
	fmul	dword [edx+20]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+8]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+20]
	fmul	dword [edx+8]
	fld	dword [eax+8]
	fmul	dword [edx+20]
	faddp	st1,st0
	fld	dword [eax+12]
	fmul	dword [edx+16]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+12]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalQuaternion+52]
	add	esp,16
	jmp	_1375
_1375:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_shortestArc:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	esi
	push	edi
	call	_c3d_cal3d_vectorCross
	add	esp,8
	mov	ebx,eax
	push	esi
	push	edi
	call	_c3d_cal3d_vectorDot
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [_7403]
	fld	dword [ebp-4]
	fadd	dword [_7404]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fstp	dword [ebp-4]
	mov	eax,ebx
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fld	dword [ebp-4]
	fchs
	fdiv	dword [_7405]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+16]
	push	dword [ebx+12]
	push	dword [ebx+8]
	call	dword [_c3d_cal3d_CalQuaternion+52]
	add	esp,16
	jmp	_1379
_1379:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalVector
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	mov	eax,0
	jmp	_1382
_1382:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_Delete:
	push	ebp
	mov	ebp,esp
_1385:
	mov	eax,0
	jmp	_3353
_3353:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_FromVector:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fstp	dword [eax+16]
	jmp	_1388
_1388:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_FromCoords:
	push	ebp
	mov	ebp,esp
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebp+16]
	fstp	dword [eax+16]
	jmp	_1393
_1393:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_assign:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [edx+8]
	fld	dword [eax+8]
	fstp	dword [ecx+8]
	mov	eax,dword [edx+8]
	fld	dword [eax+12]
	fstp	dword [ecx+12]
	mov	eax,dword [edx+8]
	fld	dword [eax+16]
	fstp	dword [ecx+16]
	mov	eax,0
	jmp	_1397
_1397:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_assigncoords:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fxch	st2
	fstp	dword [eax+8]
	fstp	dword [eax+12]
	fstp	dword [eax+16]
	mov	eax,0
	jmp	_1403
_1403:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_assignvector:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fstp	dword [edx+8]
	fld	dword [eax+12]
	fstp	dword [edx+12]
	fld	dword [eax+16]
	fstp	dword [edx+16]
	mov	eax,0
	jmp	_1407
_1407:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_addLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [eax+8]
	fadd	dword [edx+8]
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fadd	dword [edx+12]
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fadd	dword [edx+16]
	fstp	dword [eax+16]
	jmp	_1411
_1411:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_subLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [eax+8]
	fsub	dword [edx+8]
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fsub	dword [edx+12]
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fsub	dword [edx+16]
	fstp	dword [eax+16]
	jmp	_1415
_1415:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_multScalarLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [eax+8]
	fmul	st0,st1
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fmul	st0,st1
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fmulp	st1,st0
	fstp	dword [eax+16]
	jmp	_1419
_1419:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_multQuaternionLocal:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	dword [ebx+20]
	fld	dword [ebx+16]
	fchs
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+12]
	fchs
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+8]
	fchs
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalQuaternion+52]
	add	esp,16
	mov	edi,eax
	mov	eax,edi
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	fld	dword [edi+8]
	fstp	dword [esi+8]
	fld	dword [edi+12]
	fstp	dword [esi+12]
	fld	dword [edi+16]
	fstp	dword [esi+16]
	mov	eax,esi
	jmp	_1423
_1423:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_multMatrixLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [eax+8]
	fld	dword [eax+12]
	fld	dword [eax+16]
	fld	dword [edx+8]
	fmul	st0,st3
	fld	dword [edx+20]
	fmul	st0,st3
	faddp	st1,st0
	fld	dword [edx+32]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [eax+8]
	fld	dword [edx+12]
	fmul	st0,st3
	fld	dword [edx+24]
	fmul	st0,st3
	faddp	st1,st0
	fld	dword [edx+36]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [eax+12]
	fld	dword [edx+16]
	fmulp	st3,st0
	fld	dword [edx+28]
	fmulp	st2,st0
	fxch	st1
	faddp	st2,st0
	fld	dword [edx+40]
	fmulp	st1,st0
	faddp	st1,st0
	fstp	dword [eax+16]
	jmp	_1427
_1427:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_blend:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	fld	dword [ebp+12]
	mov	eax,dword [ebp+16]
	fld	dword [edx+8]
	fld	st1
	fld	dword [eax+8]
	fsub	dword [edx+8]
	fmulp	st1,st0
	faddp	st1,st0
	fstp	dword [edx+8]
	fld	dword [edx+12]
	fld	st1
	fld	dword [eax+12]
	fsub	dword [edx+12]
	fmulp	st1,st0
	faddp	st1,st0
	fstp	dword [edx+12]
	fld	dword [edx+16]
	fld	dword [eax+16]
	fsub	dword [edx+16]
	fmulp	st2,st0
	faddp	st1,st0
	fstp	dword [edx+16]
	mov	eax,0
	jmp	_1432
_1432:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_divScalarLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [eax+8]
	fdiv	st0,st1
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fdiv	st0,st1
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fdivrp	st1,st0
	fstp	dword [eax+16]
	jmp	_1436
_1436:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_equalTo:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ecx+8]
	fld	dword [edx+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_3362
	fld	dword [ecx+12]
	fld	dword [edx+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3362:
	cmp	eax,0
	je	_3364
	fld	dword [ecx+16]
	fld	dword [edx+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3364:
	cmp	eax,0
	je	_3366
	mov	byte [ebp-4],1
	jmp	_1440
_3366:
	mov	byte [ebp-4],0
	jmp	_1440
_1440:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_clear:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fldz
	fstp	dword [eax+8]
	fldz
	fstp	dword [eax+12]
	fldz
	fstp	dword [eax+16]
	mov	eax,0
	jmp	_1443
_1443:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_length:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	fmul	dword [eax+8]
	fld	dword [eax+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [eax+16]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	jmp	_1446
_1446:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_normalize:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebx+8]
	fmul	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fld	dword [ebx+16]
	fmul	dword [ebx+16]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	dword [ebx+8]
	fdiv	st0,st1
	fstp	dword [ebx+8]
	fld	dword [ebx+12]
	fdiv	st0,st1
	fstp	dword [ebx+12]
	fld	dword [ebx+16]
	fdiv	st0,st1
	fstp	dword [ebx+16]
	jmp	_1449
_1449:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorAdd:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [edx+16]
	fadd	dword [eax+16]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+12]
	fadd	dword [eax+12]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+8]
	fadd	dword [eax+8]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1453
_1453:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorSub:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [edx+16]
	fsub	dword [eax+16]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+12]
	fsub	dword [eax+12]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+8]
	fsub	dword [eax+8]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1457
_1457:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorSubVert:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	ecx,dword [edx+8]
	fld	dword [ecx+16]
	mov	ecx,dword [eax+8]
	fsub	dword [ecx+16]
	sub	esp,4
	fstp	dword [esp]
	mov	ecx,dword [edx+8]
	fld	dword [ecx+12]
	mov	ecx,dword [eax+8]
	fsub	dword [ecx+12]
	sub	esp,4
	fstp	dword [esp]
	mov	edx,dword [edx+8]
	fld	dword [edx+8]
	mov	eax,dword [eax+8]
	fsub	dword [eax+8]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1461
_1461:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorScalarMult:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [eax+16]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+12]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+8]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1465
_1465:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorScalarDiv:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [eax+16]
	fdiv	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+12]
	fdiv	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+8]
	fdivrp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1469
_1469:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorDot:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [edx+8]
	fmul	dword [eax+8]
	fld	dword [edx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [edx+16]
	fmul	dword [eax+16]
	faddp	st1,st0
	jmp	_1473
_1473:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorCross:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [edx+8]
	fmul	dword [eax+12]
	fld	dword [edx+12]
	fmul	dword [eax+8]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+16]
	fmul	dword [eax+8]
	fld	dword [edx+8]
	fmul	dword [eax+16]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+12]
	fmul	dword [eax+16]
	fld	dword [edx+16]
	fmul	dword [eax+12]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1477
_1477:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTextureCoordinate_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalTextureCoordinate
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
	jmp	_1480
_1480:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTextureCoordinate_Delete:
	push	ebp
	mov	ebp,esp
_1483:
	mov	eax,0
	jmp	_3369
_3369:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTextureCoordinate_FromUV:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalTextureCoordinate
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	jmp	_1486
_1486:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTextureCoordinate_FromCoords:
	push	ebp
	mov	ebp,esp
	push	_c3d_cal3d_CalTextureCoordinate
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	jmp	_1490
_1490:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTangentSpace_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalTangentSpace
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	fldz
	fstp	dword [ebx+12]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3376
	push	eax
	call	_bbGCFree
	add	esp,4
_3376:
	mov	dword [ebx+8],esi
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
	jmp	_1493
_1493:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTangentSpace_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1496:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3379
	push	eax
	call	_bbGCFree
	add	esp,4
_3379:
	mov	eax,0
	jmp	_3377
_3377:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTangentSpace_FromVector:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	esi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3384
	push	eax
	call	_bbGCFree
	add	esp,4
_3384:
	mov	dword [ebx+8],esi
	fld	dword [ebp+12]
	fstp	dword [ebx+12]
	mov	eax,ebx
	jmp	_1500
_1500:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTangentSpace_FromCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	dword [ebp+8]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3389
	push	eax
	call	_bbGCFree
	add	esp,4
_3389:
	mov	dword [ebx+8],esi
	fld	dword [ebp+20]
	fstp	dword [ebx+12]
	mov	eax,ebx
	jmp	_1506
_1506:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalInfluence_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalInfluence
	mov	dword [ebx+8],0
	fldz
	fstp	dword [ebx+12]
	mov	dword [ebx+8],0
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
	jmp	_1509
_1509:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalInfluence_Delete:
	push	ebp
	mov	ebp,esp
_1512:
	mov	eax,0
	jmp	_3390
_3390:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalInfluence_FromCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalInfluence
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],ebx
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	jmp	_1516
_1516:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysicalProperty_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalPhysicalProperty
	fldz
	fstp	dword [ebx+8]
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+20],eax
	fldz
	fstp	dword [ebx+8]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3398
	push	eax
	call	_bbGCFree
	add	esp,4
_3398:
	mov	dword [ebx+12],esi
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3402
	push	eax
	call	_bbGCFree
	add	esp,4
_3402:
	mov	dword [ebx+16],esi
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_3406
	push	eax
	call	_bbGCFree
	add	esp,4
_3406:
	mov	dword [ebx+20],esi
	mov	eax,0
	jmp	_1519
_1519:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysicalProperty_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1522:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_3409
	push	eax
	call	_bbGCFree
	add	esp,4
_3409:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3411
	push	eax
	call	_bbGCFree
	add	esp,4
_3411:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3413
	push	eax
	call	_bbGCFree
	add	esp,4
_3413:
	mov	eax,0
	jmp	_3407
_3407:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysicalProperty_FromWeight:
	push	ebp
	mov	ebp,esp
	push	_c3d_cal3d_CalPhysicalProperty
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	jmp	_1525
_1525:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysicalProperty_FromCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_c3d_cal3d_CalPhysicalProperty
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	fld	dword [ebp+20]
	fstp	dword [ebx+8]
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3419
	push	eax
	call	_bbGCFree
	add	esp,4
_3419:
	mov	dword [ebx+12],esi
	mov	esi,edi
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3423
	push	eax
	call	_bbGCFree
	add	esp,4
_3423:
	mov	dword [ebx+16],esi
	mov	esi,dword [ebp+16]
	inc	dword [esi+4]
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_3427
	push	eax
	call	_bbGCFree
	add	esp,4
_3427:
	mov	dword [ebx+20],esi
	mov	eax,ebx
	jmp	_1531
_1531:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalVertex
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	dword [ebx+20],0
	mov	dword [ebx+24],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3434
	push	eax
	call	_bbGCFree
	add	esp,4
_3434:
	mov	dword [ebx+8],esi
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3438
	push	eax
	call	_bbGCFree
	add	esp,4
_3438:
	mov	dword [ebx+12],esi
	push	0
	push	_3439
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3443
	push	eax
	call	_bbGCFree
	add	esp,4
_3443:
	mov	dword [ebx+16],esi
	mov	dword [ebx+20],0
	mov	dword [ebx+24],0
	mov	eax,0
	jmp	_1534
_1534:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1537:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3446
	push	eax
	call	_bbGCFree
	add	esp,4
_3446:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3448
	push	eax
	call	_bbGCFree
	add	esp,4
_3448:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3450
	push	eax
	call	_bbGCFree
	add	esp,4
_3450:
	mov	eax,0
	jmp	_3444
_3444:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_FromVector:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_c3d_cal3d_CalVertex
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	esi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3455
	push	eax
	call	_bbGCFree
	add	esp,4
_3455:
	mov	dword [ebx+8],esi
	cmp	edi,_bbNullObject
	jne	_3456
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3460
	push	eax
	call	_bbGCFree
	add	esp,4
_3460:
	mov	dword [ebx+12],esi
	jmp	_3461
_3456:
	push	edi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3465
	push	eax
	call	_bbGCFree
	add	esp,4
_3465:
	mov	dword [ebx+12],esi
_3461:
	push	0
	push	_3466
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3470
	push	eax
	call	_bbGCFree
	add	esp,4
_3470:
	mov	dword [ebx+16],esi
	mov	dword [ebx+20],0
	mov	dword [ebx+24],0
	mov	eax,ebx
	jmp	_1541
_1541:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_FromData:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebp+16]
	mov	dword [ebp-4],eax
	push	_c3d_cal3d_CalVertex
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	esi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3475
	push	eax
	call	_bbGCFree
	add	esp,4
_3475:
	mov	dword [ebx+8],esi
	push	edi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3479
	push	eax
	call	_bbGCFree
	add	esp,4
_3479:
	mov	dword [ebx+12],esi
	mov	eax,dword [ebp-4]
	push	dword [eax+16]
	push	_3480
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3484
	push	eax
	call	_bbGCFree
	add	esp,4
_3484:
	mov	dword [ebx+16],esi
	mov	eax,dword [ebp-4]
	push	dword [eax+16]
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	mov	eax,dword [ebx+16]
	lea	eax,byte [eax+24]
	push	eax
	call	_bbMemCopy
	add	esp,12
	mov	eax,dword [ebp+20]
	mov	dword [ebx+20],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebx+24],eax
	mov	eax,ebx
	jmp	_1548
_1548:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_assign:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3488
	push	eax
	call	_bbGCFree
	add	esp,4
_3488:
	mov	dword [ebx+8],esi
	mov	eax,0
	jmp	_1554
_1554:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_assignVector:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3492
	push	eax
	call	_bbGCFree
	add	esp,4
_3492:
	mov	dword [ebx+8],esi
	mov	eax,0
	jmp	_1558
_1558:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalFace_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalFace
	push	3
	push	_3493
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,dword [ebx+8]
	mov	dword [eax+24],0
	mov	eax,dword [ebx+8]
	mov	dword [eax+4+24],0
	mov	eax,dword [ebx+8]
	mov	dword [eax+8+24],0
	mov	eax,0
	jmp	_1561
_1561:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalFace_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1564:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3497
	push	eax
	call	_bbGCFree
	add	esp,4
_3497:
	mov	eax,0
	jmp	_3495
_3495:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalFace_FromCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_c3d_cal3d_CalFace
	call	_bbObjectNew
	add	esp,4
	mov	edx,dword [eax+8]
	mov	dword [edx+24],esi
	mov	edx,dword [eax+8]
	mov	dword [edx+4+24],ebx
	mov	edx,dword [eax+8]
	mov	dword [edx+8+24],edi
	jmp	_1569
_1569:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalFace_FromFace:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalFace
	call	_bbObjectNew
	add	esp,4
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	mov	dword [ecx+24],edx
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+4+24]
	mov	dword [ecx+4+24],edx
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+8+24]
	mov	dword [ecx+8+24],edx
	jmp	_1572
_1572:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalFace_FromArr:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalFace
	call	_bbObjectNew
	add	esp,4
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+24]
	mov	dword [ecx+24],edx
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+4+24]
	mov	dword [ecx+4+24],edx
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+8+24]
	mov	dword [ecx+8+24],edx
	jmp	_1575
_1575:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpring_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalSpring
	push	2
	push	_3501
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	mov	eax,dword [ebx+8]
	mov	dword [eax+24],0
	mov	eax,dword [ebx+8]
	mov	dword [eax+4+24],0
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	mov	eax,0
	jmp	_1578
_1578:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpring_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1581:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3505
	push	eax
	call	_bbGCFree
	add	esp,4
_3505:
	mov	eax,0
	jmp	_3503
_3503:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpring_FromCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_c3d_cal3d_CalSpring
	call	_bbObjectNew
	add	esp,4
	mov	edx,dword [eax+8]
	mov	dword [edx+24],esi
	mov	edx,dword [eax+8]
	mov	dword [edx+4+24],ebx
	fld	dword [ebp+16]
	fstp	dword [eax+12]
	fld	dword [ebp+20]
	fstp	dword [eax+16]
	jmp	_1587
_1587:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpring_FromArr:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalSpring
	call	_bbObjectNew
	add	esp,4
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+24]
	mov	dword [ecx+24],edx
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+4+24]
	mov	dword [ecx+4+24],edx
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebp+16]
	fstp	dword [eax+16]
	jmp	_1592
_1592:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalPlane
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	mov	eax,0
	jmp	_1595
_1595:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_Delete:
	push	ebp
	mov	ebp,esp
_1598:
	mov	eax,0
	jmp	_3508
_3508:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_eval:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fmul	dword [edx+8]
	fld	dword [eax+12]
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+16]
	faddp	st1,st0
	fadd	dword [edx+20]
	jmp	_1602
_1602:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_setPosition:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fchs
	fmul	dword [edx+8]
	fld	dword [eax+12]
	fmul	dword [edx+12]
	fsubp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+16]
	fsubp	st1,st0
	fstp	dword [edx+20]
	mov	eax,0
	jmp	_1606
_1606:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_setNormal:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fstp	dword [edx+8]
	fld	dword [eax+12]
	fstp	dword [edx+12]
	fld	dword [eax+16]
	fstp	dword [edx+16]
	fld	dword [_7572]
	fstp	dword [edx+20]
	mov	eax,0
	jmp	_1610
_1610:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_dist:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fmul	dword [edx+8]
	fld	dword [eax+12]
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+16]
	faddp	st1,st0
	fadd	dword [edx+20]
	fstp	qword [ebp-8]
	fld	dword [edx+8]
	fmul	dword [edx+8]
	fld	dword [edx+12]
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	dword [edx+16]
	fmul	dword [edx+16]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-8]
	fdivrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	jmp	_1614
_1614:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBoundingBox_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	edi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [edi],_c3d_cal3d_CalBoundingBox
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [edi+8],eax
	push	6
	push	_3510
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+8]
	dec	dword [eax+4]
	jnz	_3514
	push	eax
	call	_bbGCFree
	add	esp,4
_3514:
	mov	dword [edi+8],ebx
	mov	esi,0
	jmp	_3516
_3:
	push	_c3d_cal3d_CalPlane
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3520
	push	eax
	call	_bbGCFree
	add	esp,4
_3520:
	mov	eax,dword [edi+8]
	mov	dword [eax+esi*4+24],ebx
_1:
	add	esi,1
_3516:
	cmp	esi,5
	jle	_3
_2:
	mov	eax,0
	jmp	_1617
_1617:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBoundingBox_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1620:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3523
	push	eax
	call	_bbGCFree
	add	esp,4
_3523:
	mov	eax,0
	jmp	_3521
_3521:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBoundingBox_computePoints:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,_bbEmptyArray
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_3524
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+16]
	cmp	eax,8
	setl	al
	movzx	eax,al
_3524:
	cmp	eax,0
	je	_3526
	push	8
	push	_3527
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp+12],eax
_3526:
	push	_c3d_cal3d_CalMatrix
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebp-28],0
	mov	dword [ebp-24],0
	jmp	_3531
_6:
	mov	dword [ebp-20],2
	jmp	_3533
_9:
	mov	dword [ebp-16],4
	jmp	_3535
_12:
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+8]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+20]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+32]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+12]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+24]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+36]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+16]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+28]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+40]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fstp	dword [ebp-4]
	fldz
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_3541
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+8]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+20]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+32]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+12]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+24]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+36]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+16]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+28]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+40]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fdiv	dword [ebp-4]
	fstp	dword [ebp-8]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+8]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+20]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+32]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+12]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+24]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+36]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+16]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+28]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+40]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fdiv	dword [ebp-4]
	fstp	dword [ebp-12]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+8]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+20]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-24]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+32]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+12]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+24]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+36]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+16]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+28]
	mov	edx,dword [edi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+40]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fdiv	dword [ebp-4]
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp+12]
	cmp	dword [eax+edx*4+24],_bbNullObject
	je	_3545
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+edx*4+24]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	jmp	_3547
_3545:
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	push	dword [ebp-8]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_3551
	push	eax
	call	_bbGCFree
	add	esp,4
_3551:
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp+12]
	mov	dword [eax+edx*4+24],esi
_3547:
	jmp	_3552
_3541:
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp+12]
	cmp	dword [eax+edx*4+24],_bbNullObject
	je	_3553
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+edx*4+24]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	jmp	_3555
_3553:
	push	0
	push	0
	push	0
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_3559
	push	eax
	call	_bbGCFree
	add	esp,4
_3559:
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp+12]
	mov	dword [eax+edx*4+24],esi
_3555:
_3552:
	add	dword [ebp-28],1
_10:
	add	dword [ebp-16],1
_3535:
	cmp	dword [ebp-16],5
	jle	_12
_11:
_7:
	add	dword [ebp-20],1
_3533:
	cmp	dword [ebp-20],3
	jle	_9
_8:
_4:
	add	dword [ebp-24],1
_3531:
	cmp	dword [ebp-24],1
	jle	_6
_5:
	mov	eax,dword [ebp+12]
	jmp	_1624
_1624:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_StringMap
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,0
	jmp	_1627
_1627:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1630:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3563
	push	eax
	call	_bbGCFree
	add	esp,4
_3563:
	mov	eax,0
	jmp	_3561
_3561:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	mov	dword [ebp-4],eax
	mov	ebx,0
	mov	eax,dword [ebp-4]
	sub	eax,1
	mov	edi,eax
	jmp	_3566
_15:
	push	dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3568
	mov	eax,dword [ebp+16]
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_3572
	push	eax
	call	_bbGCFree
	add	esp,4
_3572:
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+12],edi
	mov	eax,0
	jmp	_1635
_3568:
_13:
	add	ebx,1
_3566:
	cmp	ebx,edi
	jle	_15
_14:
	mov	eax,dword [ebp-4]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_3573
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_3577
	push	eax
	call	_bbGCFree
	add	esp,4
_3577:
	mov	dword [esi+8],ebx
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	dword [_c3d_cal3d_StringNode+48]
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3581
	push	eax
	call	_bbGCFree
	add	esp,4
_3581:
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	dword [edx+eax*4+24],ebx
	mov	eax,0
	jmp	_1635
_1635:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_Add:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	mov	dword [ebp-4],eax
	mov	ebx,0
	mov	eax,dword [ebp-4]
	sub	eax,1
	mov	edi,eax
	jmp	_3584
_18:
	push	dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3586
	mov	eax,dword [ebp+16]
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_3590
	push	eax
	call	_bbGCFree
	add	esp,4
_3590:
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+12],edi
	mov	eax,0
	jmp	_1640
_3586:
_16:
	add	ebx,1
_3584:
	cmp	ebx,edi
	jle	_18
_17:
	mov	eax,dword [ebp-4]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_3573
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_3594
	push	eax
	call	_bbGCFree
	add	esp,4
_3594:
	mov	dword [esi+8],ebx
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	dword [_c3d_cal3d_StringNode+48]
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3598
	push	eax
	call	_bbGCFree
	add	esp,4
_3598:
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	dword [edx+eax*4+24],ebx
	mov	eax,0
	jmp	_1640
_1640:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_Contains:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+8]
	cmp	dword [eax+16],0
	jg	_3599
	mov	byte [ebp-4],0
	jmp	_1644
_3599:
	mov	esi,0
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	ebx,eax
	jmp	_3601
_21:
	push	dword [ebp+12]
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+esi*4+24]
	push	dword [eax+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3603
	mov	byte [ebp-4],1
	jmp	_1644
_3603:
_19:
	add	esi,1
_3601:
	cmp	esi,ebx
	jle	_21
_20:
	mov	byte [ebp-4],0
	jmp	_1644
_1644:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_Get:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	cmp	dword [eax+16],0
	jg	_3604
	mov	eax,_22
	jmp	_1648
_3604:
	mov	ebx,0
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_3606
_25:
	push	dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3608
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+12]
	jmp	_1648
_3608:
_23:
	add	ebx,1
_3606:
	cmp	ebx,edi
	jle	_25
_24:
	mov	eax,_bbEmptyString
	jmp	_1648
_1648:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringNode_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_StringNode
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,0
	jmp	_1651
_1651:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringNode_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1654:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3613
	push	eax
	call	_bbGCFree
	add	esp,4
_3613:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3615
	push	eax
	call	_bbGCFree
	add	esp,4
_3615:
	mov	eax,0
	jmp	_3611
_3611:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringNode_FromData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_c3d_cal3d_StringNode
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3620
	push	eax
	call	_bbGCFree
	add	esp,4
_3620:
	mov	dword [ebx+8],esi
	mov	esi,edi
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3624
	push	eax
	call	_bbGCFree
	add	esp,4
_3624:
	mov	dword [ebx+12],esi
	mov	eax,ebx
	jmp	_1658
_1658:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_IntMap
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,0
	jmp	_1661
_1661:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1664:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3628
	push	eax
	call	_bbGCFree
	add	esp,4
_3628:
	mov	eax,0
	jmp	_3626
_3626:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	mov	dword [ebp-4],eax
	mov	ebx,0
	mov	eax,dword [ebp-4]
	sub	eax,1
	jmp	_3631
_28:
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+ebx*4+24]
	cmp	dword [edx+8],edi
	jne	_3633
	mov	eax,dword [ebp+16]
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_3637
	push	eax
	call	_bbGCFree
	add	esp,4
_3637:
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+12],edi
	mov	eax,0
	jmp	_1669
_3633:
_26:
	add	ebx,1
_3631:
	cmp	ebx,eax
	jle	_28
_27:
	mov	eax,dword [ebp-4]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_3638
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_3642
	push	eax
	call	_bbGCFree
	add	esp,4
_3642:
	mov	dword [esi+8],ebx
	push	dword [ebp+16]
	push	edi
	call	dword [_c3d_cal3d_IntNode+48]
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3646
	push	eax
	call	_bbGCFree
	add	esp,4
_3646:
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	dword [edx+eax*4+24],ebx
	mov	eax,0
	jmp	_1669
_1669:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_Add:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	mov	dword [ebp-4],eax
	mov	ebx,0
	mov	eax,dword [ebp-4]
	sub	eax,1
	jmp	_3649
_31:
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+ebx*4+24]
	cmp	dword [edx+8],edi
	jne	_3651
	mov	eax,dword [ebp+16]
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_3655
	push	eax
	call	_bbGCFree
	add	esp,4
_3655:
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [eax+12],edi
	mov	eax,0
	jmp	_1674
_3651:
_29:
	add	ebx,1
_3649:
	cmp	ebx,eax
	jle	_31
_30:
	mov	eax,dword [ebp-4]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_3638
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_3659
	push	eax
	call	_bbGCFree
	add	esp,4
_3659:
	mov	dword [esi+8],ebx
	push	dword [ebp+16]
	push	edi
	call	dword [_c3d_cal3d_IntNode+48]
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3663
	push	eax
	call	_bbGCFree
	add	esp,4
_3663:
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	dword [edx+eax*4+24],ebx
	mov	eax,0
	jmp	_1674
_1674:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_Contains:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	eax,dword [ebx+8]
	cmp	dword [eax+16],0
	jg	_3664
	mov	byte [ebp-4],0
	jmp	_1678
_3664:
	mov	edx,0
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	jmp	_3666
_34:
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+edx*4+24]
	cmp	dword [esi+8],ecx
	jne	_3668
	mov	byte [ebp-4],1
	jmp	_1678
_3668:
_32:
	add	edx,1
_3666:
	cmp	edx,eax
	jle	_34
_33:
	mov	byte [ebp-4],0
	jmp	_1678
_1678:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_Get:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	eax,dword [ebx+8]
	cmp	dword [eax+16],0
	jg	_3669
	mov	eax,_22
	jmp	_1682
_3669:
	mov	edx,0
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	jmp	_3671
_37:
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+edx*4+24]
	cmp	dword [esi+8],ecx
	jne	_3673
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+12]
	jmp	_1682
_3673:
_35:
	add	edx,1
_3671:
	cmp	edx,eax
	jle	_37
_36:
	mov	eax,_bbNullObject
	jmp	_1682
_1682:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntNode_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_IntNode
	mov	dword [ebx+8],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,0
	jmp	_1685
_1685:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntNode_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1688:
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_3677
	push	eax
	call	_bbGCFree
	add	esp,4
_3677:
	mov	eax,0
	jmp	_3675
_3675:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntNode_FromData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_c3d_cal3d_IntNode
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+8],esi
	mov	esi,edi
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3682
	push	eax
	call	_bbGCFree
	add	esp,4
_3682:
	mov	dword [ebx+12],esi
	mov	eax,ebx
	jmp	_1692
_1692:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreMaterial
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	fldz
	fstp	dword [ebx+20]
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	push	_c3d_cal3d_CalColor
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3693
	push	eax
	call	_bbGCFree
	add	esp,4
_3693:
	mov	dword [ebx+8],esi
	push	_c3d_cal3d_CalColor
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3697
	push	eax
	call	_bbGCFree
	add	esp,4
_3697:
	mov	dword [ebx+12],esi
	push	_c3d_cal3d_CalColor
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3701
	push	eax
	call	_bbGCFree
	add	esp,4
_3701:
	mov	dword [ebx+16],esi
	push	0
	push	_3702
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_3706
	push	eax
	call	_bbGCFree
	add	esp,4
_3706:
	mov	dword [ebx+24],esi
	mov	eax,0
	jmp	_1695
_1695:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1698:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_3709
	push	eax
	call	_bbGCFree
	add	esp,4
_3709:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_3711
	push	eax
	call	_bbGCFree
	add	esp,4
_3711:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_3713
	push	eax
	call	_bbGCFree
	add	esp,4
_3713:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_3715
	push	eax
	call	_bbGCFree
	add	esp,4
_3715:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3717
	push	eax
	call	_bbGCFree
	add	esp,4
_3717:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3719
	push	eax
	call	_bbGCFree
	add	esp,4
_3719:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3721
	push	eax
	call	_bbGCFree
	add	esp,4
_3721:
	mov	eax,0
	jmp	_3707
_3707:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getAmbientColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_1701
_1701:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getDiffuseColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_1704
_1704:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getMapCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+16]
	jmp	_1707
_1707:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getMapFilename:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3722
	mov	eax,dword [ecx+24]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_3722:
	cmp	eax,0
	je	_3724
	mov	eax,_22
	jmp	_1711
_3724:
	mov	eax,dword [ecx+24]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	jne	_3726
	mov	eax,_22
	jmp	_1711
_3726:
	mov	eax,dword [eax+8]
	jmp	_1711
_1711:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getMapUserData:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3728
	mov	eax,dword [ecx+24]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_3728:
	cmp	eax,0
	je	_3730
	mov	eax,_bbNullObject
	jmp	_1715
_3730:
	mov	eax,dword [ecx+24]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	jne	_3732
	mov	eax,_bbNullObject
	jmp	_1715
_3732:
	mov	eax,dword [eax+12]
	jmp	_1715
_1715:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getShininess:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+20]
	jmp	_1718
_1718:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getSpecularColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_1721
_1721:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getUserData:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	jmp	_1724
_1724:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getVectorMap:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_1727
_1727:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getFilename:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_1730
_1730:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_1733
_1733:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_reserve:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	_3734
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_3738
	push	eax
	call	_bbGCFree
	add	esp,4
_3738:
	mov	dword [ebx+24],esi
	mov	byte [ebp-4],1
	jmp	_1737
_1737:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setAmbientColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	dword [_c3d_cal3d_CalColor+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3742
	push	eax
	call	_bbGCFree
	add	esp,4
_3742:
	mov	dword [ebx+8],esi
	mov	eax,0
	jmp	_1741
_1741:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setDiffuseColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	dword [_c3d_cal3d_CalColor+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3746
	push	eax
	call	_bbGCFree
	add	esp,4
_3746:
	mov	dword [ebx+12],esi
	mov	eax,0
	jmp	_1745
_1745:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setMap:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3747
	mov	eax,dword [edi+24]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_3747:
	cmp	eax,0
	je	_3749
	mov	byte [ebp-4],0
	jmp	_1750
_3749:
	inc	dword [edx+4]
	mov	ebx,edx
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3753
	push	eax
	call	_bbGCFree
	add	esp,4
_3753:
	mov	eax,dword [edi+24]
	mov	dword [eax+esi*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_1750
_1750:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setMapUserData:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3754
	mov	eax,dword [ecx+24]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_3754:
	cmp	eax,0
	je	_3756
	mov	byte [ebp-4],0
	jmp	_1755
_3756:
	mov	eax,dword [ecx+24]
	mov	esi,dword [eax+edx*4+24]
	cmp	esi,_bbNullObject
	jne	_3758
	mov	byte [ebp-4],0
	jmp	_1755
_3758:
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_3762
	push	eax
	call	_bbGCFree
	add	esp,4
_3762:
	mov	dword [esi+12],ebx
	mov	byte [ebp-4],1
	jmp	_1755
_1755:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setShininess:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+20]
	mov	eax,0
	jmp	_1759
_1759:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setSpecularColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	dword [_c3d_cal3d_CalColor+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3766
	push	eax
	call	_bbGCFree
	add	esp,4
_3766:
	mov	dword [ebx+16],esi
	mov	eax,0
	jmp	_1763
_1763:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setFilename:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_3770
	push	eax
	call	_bbGCFree
	add	esp,4
_3770:
	mov	dword [esi+36],ebx
	mov	eax,0
	jmp	_1767
_1767:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setName:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_3774
	push	eax
	call	_bbGCFree
	add	esp,4
_3774:
	mov	dword [esi+32],ebx
	mov	eax,0
	jmp	_1771
_1771:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setUserData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_3778
	push	eax
	call	_bbGCFree
	add	esp,4
_3778:
	mov	dword [esi+28],ebx
	mov	eax,0
	jmp	_1775
_1775:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalColor_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalColor
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	mov	eax,0
	jmp	_1778
_1778:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalColor_Delete:
	push	ebp
	mov	ebp,esp
_1781:
	mov	eax,0
	jmp	_3779
_3779:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalColor_FromColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalColor
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fstp	dword [eax+16]
	fld	dword [ebx+20]
	fstp	dword [eax+20]
	jmp	_1784
_1784:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalColor_FromValues:
	push	ebp
	mov	ebp,esp
	push	_c3d_cal3d_CalColor
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebp+16]
	fstp	dword [eax+16]
	fld	dword [ebp+20]
	fstp	dword [eax+20]
	jmp	_1790
_1790:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMap_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalMap
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,0
	jmp	_1793
_1793:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMap_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1796:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3786
	push	eax
	call	_bbGCFree
	add	esp,4
_3786:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3788
	push	eax
	call	_bbGCFree
	add	esp,4
_3788:
	mov	eax,0
	jmp	_3784
_3784:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreSubmesh
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+20],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	mov	dword [ebx+44],0
	mov	dword [ebx+48],0
	mov	eax,0
	jmp	_1799
_1799:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1802:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_3800
	push	eax
	call	_bbGCFree
	add	esp,4
_3800:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_3802
	push	eax
	call	_bbGCFree
	add	esp,4
_3802:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_3804
	push	eax
	call	_bbGCFree
	add	esp,4
_3804:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_3806
	push	eax
	call	_bbGCFree
	add	esp,4
_3806:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_3808
	push	eax
	call	_bbGCFree
	add	esp,4
_3808:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_3810
	push	eax
	call	_bbGCFree
	add	esp,4
_3810:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3812
	push	eax
	call	_bbGCFree
	add	esp,4
_3812:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3814
	push	eax
	call	_bbGCFree
	add	esp,4
_3814:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3816
	push	eax
	call	_bbGCFree
	add	esp,4
_3816:
	mov	eax,0
	jmp	_3798
_3798:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getCoreMaterialThreadId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+44]
	jmp	_1805
_1805:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getFaceCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	mov	eax,dword [eax+20]
	jmp	_1808
_1808:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getLodCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	jmp	_1811
_1811:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getSpringCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	mov	eax,dword [eax+16]
	jmp	_1814
_1814:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorFace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_1817
_1817:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorPhysicalProperty:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	jmp	_1820
_1820:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorSpring:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_1823
_1823:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorVectorTangentSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_1826
_1826:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorVectorTextureCoordinate:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_1829
_1829:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorVertex:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_1832
_1832:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVertexCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16]
	jmp	_1835
_1835:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_isTangentsEnabled:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3817
	mov	eax,dword [ecx+12]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3817:
	cmp	eax,0
	je	_3819
	mov	byte [ebp-4],0
	jmp	_1839
_3819:
	mov	eax,dword [ecx+12]
	movzx	eax,byte [eax+edx+24]
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_1839
_1839:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_enableTangents:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	movzx	eax,byte [ebp+16]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	eax,dword [ebp+12]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3820
	mov	edx,dword [edi+12]
	mov	eax,dword [ebp+12]
	cmp	eax,dword [edx+16]
	setge	al
	movzx	eax,al
_3820:
	cmp	eax,0
	je	_3822
	mov	byte [ebp-8],0
	jmp	_1844
_3822:
	mov	edx,dword [edi+12]
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	ecx,dword [ebp+12]
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [edx+ecx+24],al
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	jne	_3823
	push	0
	push	_3824
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3828
	push	eax
	call	_bbGCFree
	add	esp,4
_3828:
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	dword [edx+eax*4+24],ebx
	mov	byte [ebp-8],1
	jmp	_1844
_3823:
	mov	eax,dword [edi+8]
	push	dword [eax+20]
	push	_3829
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3833
	push	eax
	call	_bbGCFree
	add	esp,4
_3833:
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	dword [edx+eax*4+24],ebx
	mov	esi,0
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_3835
_40:
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3840
	push	eax
	call	_bbGCFree
	add	esp,4
_3840:
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [eax+esi*4+24],ebx
_38:
	add	esi,1
_3835:
	cmp	esi,dword [ebp-12]
	jle	_40
_39:
	mov	ebx,0
	mov	eax,dword [edi+32]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	esi,eax
	jmp	_3842
_43:
	mov	eax,edi
	push	dword [ebp+12]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+8+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+4+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,20
	mov	eax,edi
	push	dword [ebp+12]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+8+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,20
	mov	eax,edi
	push	dword [ebp+12]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+4+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+8+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,20
_41:
	add	ebx,1
_3842:
	cmp	ebx,esi
	jle	_43
_42:
	mov	esi,0
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	ebx,eax
	jmp	_3847
_46:
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+esi*4+24]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	fstp	st0
	add	esp,4
_44:
	add	esi,1
_3847:
	cmp	esi,ebx
	jle	_46
_45:
	mov	byte [ebp-8],1
	jmp	_1844
_1844:
	movzx	eax,byte [ebp-8]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_reserve:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+16]
	push	dword [ebp+12]
	push	_3850
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+8]
	dec	dword [eax+4]
	jnz	_3854
	push	eax
	call	_bbGCFree
	add	esp,4
_3854:
	mov	dword [edi+8],ebx
	push	esi
	push	_3855
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_3859
	push	eax
	call	_bbGCFree
	add	esp,4
_3859:
	mov	dword [edi+12],ebx
	push	0
	push	0
	push	esi
	push	0
	push	dword [edi+20]
	push	_3860
	call	_bbArraySlice
	add	esp,16
	push	eax
	push	_3860
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+20]
	dec	dword [eax+4]
	jnz	_3864
	push	eax
	call	_bbGCFree
	add	esp,4
_3864:
	mov	dword [edi+20],ebx
	push	0
	push	0
	push	esi
	push	0
	push	dword [edi+24]
	push	_3865
	call	_bbArraySlice
	add	esp,16
	push	eax
	push	_3865
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_3869
	push	eax
	call	_bbGCFree
	add	esp,4
_3869:
	mov	dword [edi+24],ebx
	mov	ebx,0
	mov	eax,esi
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_3871
_49:
	push	dword [ebp+12]
	push	_3873
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_3877
	push	eax
	call	_bbGCFree
	add	esp,4
_3877:
	mov	eax,dword [edi+24]
	mov	dword [eax+ebx*4+24],esi
	mov	eax,dword [edi+12]
	movzx	eax,byte [eax+ebx+24]
	mov	eax,eax
	cmp	eax,1
	jne	_3878
	push	dword [ebp+12]
	push	_3879
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_3883
	push	eax
	call	_bbGCFree
	add	esp,4
_3883:
	mov	eax,dword [edi+16]
	mov	dword [eax+ebx*4+24],esi
	jmp	_3884
_3878:
	push	0
	push	_3885
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_3889
	push	eax
	call	_bbGCFree
	add	esp,4
_3889:
	mov	eax,dword [edi+16]
	mov	dword [eax+ebx*4+24],esi
_3884:
_47:
	add	ebx,1
_3871:
	cmp	ebx,dword [ebp-8]
	jle	_49
_48:
	push	dword [ebp+20]
	push	_3890
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+32]
	dec	dword [eax+4]
	jnz	_3894
	push	eax
	call	_bbGCFree
	add	esp,4
_3894:
	mov	dword [edi+32],ebx
	push	dword [ebp+24]
	push	_3895
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+36]
	dec	dword [eax+4]
	jnz	_3899
	push	eax
	call	_bbGCFree
	add	esp,4
_3899:
	mov	dword [edi+36],ebx
	cmp	dword [ebp+24],0
	jle	_3900
	push	dword [ebp+12]
	push	_3901
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_3905
	push	eax
	call	_bbGCFree
	add	esp,4
_3905:
	mov	dword [edi+28],ebx
_3900:
	mov	byte [ebp-4],1
	jmp	_1851
_1851:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setCoreMaterialThreadId:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+44],eax
	mov	eax,0
	jmp	_1855
_1855:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setFace:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3906
	mov	eax,dword [edi+32]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_3906:
	cmp	eax,0
	je	_3908
	mov	byte [ebp-4],0
	jmp	_1860
_3908:
	inc	dword [edx+4]
	mov	ebx,edx
	mov	eax,dword [edi+32]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3912
	push	eax
	call	_bbGCFree
	add	esp,4
_3912:
	mov	eax,dword [edi+32]
	mov	dword [eax+esi*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_1860
_1860:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setLodCount:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+48],eax
	mov	eax,0
	jmp	_1864
_1864:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setPhysicalProperty:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3913
	mov	eax,dword [edi+28]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_3913:
	cmp	eax,0
	je	_3915
	mov	byte [ebp-4],0
	jmp	_1869
_3915:
	inc	dword [edx+4]
	mov	ebx,edx
	mov	eax,dword [edi+28]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3919
	push	eax
	call	_bbGCFree
	add	esp,4
_3919:
	mov	eax,dword [edi+28]
	mov	dword [eax+esi*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_1869
_1869:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setSpring:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3920
	mov	eax,dword [edi+36]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_3920:
	cmp	eax,0
	je	_3922
	mov	byte [ebp-4],0
	jmp	_1874
_3922:
	inc	dword [edx+4]
	mov	ebx,edx
	mov	eax,dword [edi+36]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3926
	push	eax
	call	_bbGCFree
	add	esp,4
_3926:
	mov	eax,dword [edi+36]
	mov	dword [eax+esi*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_1874
_1874:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setTangentSpace:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+16]
	mov	edx,dword [ebp+20]
	mov	eax,dword [ebp+12]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3927
	mov	ecx,dword [esi+8]
	mov	eax,dword [ebp+12]
	cmp	eax,dword [ecx+16]
	setge	al
	movzx	eax,al
_3927:
	cmp	eax,0
	je	_3929
	mov	byte [ebp-4],0
	jmp	_1881
_3929:
	cmp	edi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3930
	mov	eax,dword [esi+24]
	cmp	edi,dword [eax+16]
	setge	al
	movzx	eax,al
_3930:
	cmp	eax,0
	je	_3932
	mov	byte [ebp-4],0
	jmp	_1881
_3932:
	mov	eax,dword [esi+12]
	movzx	eax,byte [eax+edi+24]
	mov	eax,eax
	cmp	eax,0
	jne	_3933
	mov	byte [ebp-4],0
	jmp	_1881
_3933:
	mov	eax,dword [esi+16]
	mov	ecx,dword [eax+edi*4+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [ecx+eax*4+24]
	cmp	dword [eax+8],_bbNullObject
	jne	_3934
	push	edx
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	mov	edx,dword [eax+edi*4+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3938
	push	eax
	call	_bbGCFree
	add	esp,4
_3938:
	mov	eax,dword [esi+16]
	mov	edx,dword [eax+edi*4+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [eax+8],ebx
	jmp	_3939
_3934:
	mov	eax,dword [esi+16]
	mov	ecx,dword [eax+edi*4+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [ecx+eax*4+24]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
_3939:
	mov	eax,dword [esi+16]
	mov	edx,dword [eax+edi*4+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [ebp+24]
	fstp	dword [eax+12]
	mov	byte [ebp-4],1
	jmp	_1881
_1881:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setTextureCoordinate:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+16]
	mov	edx,dword [ebp+20]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3941
	mov	eax,dword [edi+24]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_3941:
	cmp	eax,0
	je	_3943
	mov	byte [ebp-4],0
	jmp	_1887
_3943:
	mov	eax,dword [ebp+12]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3944
	mov	eax,dword [edi+24]
	mov	ecx,dword [eax+esi*4+24]
	mov	eax,dword [ebp+12]
	cmp	eax,dword [ecx+16]
	setge	al
	movzx	eax,al
_3944:
	cmp	eax,0
	je	_3946
	mov	byte [ebp-4],0
	jmp	_1887
_3946:
	inc	dword [edx+4]
	mov	ebx,edx
	mov	eax,dword [edi+24]
	mov	edx,dword [eax+esi*4+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_3950
	push	eax
	call	_bbGCFree
	add	esp,4
_3950:
	mov	eax,dword [edi+24]
	mov	edx,dword [eax+esi*4+24]
	mov	eax,dword [ebp+12]
	mov	dword [edx+eax*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_1887
_1887:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setVertex:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3951
	mov	eax,dword [edi+8]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_3951:
	cmp	eax,0
	je	_3953
	mov	byte [ebp-4],0
	jmp	_1892
_3953:
	inc	dword [edx+4]
	mov	ebx,edx
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_3957
	push	eax
	call	_bbGCFree
	add	esp,4
_3957:
	mov	eax,dword [edi+8]
	mov	dword [eax+esi*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_1892
_1892:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_addCoreSubMorphTarget:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+40]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+40]
	push	_3959
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_3963
	push	eax
	call	_bbGCFree
	add	esp,4
_3963:
	mov	eax,dword [ebp-4]
	mov	dword [esi+40],eax
	mov	eax,edi
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_3967
	push	eax
	call	_bbGCFree
	add	esp,4
_3967:
	mov	eax,dword [esi+40]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_1896
_1896:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTarget:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3968
	mov	eax,dword [ecx+40]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_3968:
	cmp	eax,0
	je	_3970
	mov	eax,_bbNullObject
	jmp	_1900
_3970:
	mov	eax,dword [ecx+40]
	mov	eax,dword [eax+edx*4+24]
	jmp	_1900
_1900:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTargetCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+16]
	jmp	_1903
_1903:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorCoreSubMorphTarget:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_1906
_1906:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	ebx,eax
	jmp	_3972
_52:
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+esi*4+24]
	mov	eax,dword [eax+8]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
_50:
	add	esi,1
_3972:
	cmp	esi,ebx
	jle	_52
_51:
	mov	eax,dword [edi+36]
	cmp	dword [eax+16],0
	jle	_3975
	fld	dword [ebp+12]
	fsub	dword [_7843]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_7844]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_3976
	push	0
	push	_3977
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+36]
	dec	dword [eax+4]
	jnz	_3981
	push	eax
	call	_bbGCFree
	add	esp,4
_3981:
	mov	dword [edi+36],ebx
	push	0
	push	_3982
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_3986
	push	eax
	call	_bbGCFree
	add	esp,4
_3986:
	mov	dword [edi+28],ebx
_3976:
_3975:
	mov	eax,0
	jmp	_1910
_1910:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_UpdateTangentVector:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	mov	esi,dword [ebp+16]
	mov	edi,dword [ebp+20]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+24]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+esi*4+24]
	fld	dword [edx+8]
	mov	edx,dword [eax+ebx*4+24]
	fsub	dword [edx+8]
	mov	edx,dword [eax+esi*4+24]
	fld	dword [edx+12]
	mov	edx,dword [eax+ebx*4+24]
	fsub	dword [edx+12]
	fstp	dword [ebp-20]
	mov	edx,dword [eax+edi*4+24]
	fld	dword [edx+8]
	mov	edx,dword [eax+ebx*4+24]
	fsub	dword [edx+8]
	mov	edx,dword [eax+edi*4+24]
	fld	dword [edx+12]
	mov	eax,dword [eax+ebx*4+24]
	fsub	dword [eax+12]
	fstp	dword [ebp-16]
	fld	st1
	fmul	dword [ebp-16]
	fld	dword [ebp-20]
	fmul	st0,st2
	fsubp	st1,st0
	fstp	dword [ebp-24]
	fmul	dword [ebp-20]
	fld	dword [ebp-16]
	fmulp	st2,st0
	fsubrp	st1,st0
	fstp	dword [ebp-28]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_7858]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_3996
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_7859]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_3996:
	cmp	eax,0
	je	_3998
	mov	eax,0
	jmp	_1917
_3998:
	fld	dword [ebp-16]
	fdiv	dword [ebp-24]
	fstp	dword [ebp-4]
	fld	dword [ebp-20]
	fdiv	dword [ebp-28]
	fstp	dword [ebp-8]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+esi*4+24]
	push	dword [eax+8]
	call	_c3d_cal3d_vectorSub
	add	esp,8
	mov	esi,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	push	dword [eax+8]
	call	_c3d_cal3d_vectorSub
	add	esp,8
	mov	edi,eax
	mov	eax,esi
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	esi,eax
	mov	eax,edi
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	mov	esi,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+12]
	push	esi
	call	_c3d_cal3d_vectorDot
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+12]
	call	_c3d_cal3d_vectorScalarMult
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+108]
	fstp	st0
	add	esp,4
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+24]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+8]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
	mov	eax,0
	jmp	_1917
_1917:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreMesh
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	push	0
	push	_4014
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4018
	push	eax
	call	_bbGCFree
	add	esp,4
_4018:
	mov	dword [ebx+8],esi
	mov	eax,0
	jmp	_1920
_1920:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1923:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4021
	push	eax
	call	_bbGCFree
	add	esp,4
_4021:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4023
	push	eax
	call	_bbGCFree
	add	esp,4
_4023:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4025
	push	eax
	call	_bbGCFree
	add	esp,4
_4025:
	mov	eax,0
	jmp	_4019
_4019:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_addCoreSubmesh:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	ebx,dword [eax+20]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_985
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4030
	push	eax
	call	_bbGCFree
	add	esp,4
_4030:
	mov	eax,dword [ebp-4]
	mov	dword [esi+8],eax
	mov	eax,edi
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_4034
	push	eax
	call	_bbGCFree
	add	esp,4
_4034:
	mov	eax,dword [esi+8]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_1927
_1927:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_getCoreSubmesh:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4035
	mov	eax,dword [ecx+8]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_4035:
	cmp	eax,0
	je	_4037
	push	_53
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_1931
_4037:
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+edx*4+24]
	jmp	_1931
_1931:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_getCoreSubmeshCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16]
	jmp	_1934
_1934:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_getVectorCoreSubmesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_1937
_1937:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_addAsMorphTarget:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+16]
	cmp	dword [edx+16],eax
	je	_4040
	push	_54
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_1941
_4040:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	cmp	dword [eax+16],0
	jne	_4041
	push	_55
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_1941
_4041:
	mov	dword [ebp-16],0
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,4
	mov	dword [ebp-24],eax
	jmp	_56
_58:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-16]
	mov	ecx,dword [edx+eax*4+24]
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-20]
	mov	esi,dword [eax+edx*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+88]
	add	esp,4
	mov	ebx,eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+88]
	add	esp,4
	cmp	ebx,eax
	je	_4047
	push	_59
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_1941
_4047:
	add	dword [ebp-16],1
_56:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16]
	cmp	dword [ebp-16],eax
	jl	_58
_57:
	mov	dword [ebp-16],0
	jmp	_60
_62:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	ebx,eax
	push	_c3d_cal3d_CalCoreSubMorphTarget
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,0
	jne	_4052
	mov	eax,-1
	jmp	_1941
_4052:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	esi,0
	mov	edi,0
	mov	eax,ebx
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4057
_65:
	push	_c3d_cal3d_CalBlendVertex
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebp-4]
	mov	edx,dword [edx+esi*4+24]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [ebx+12]
	mov	edx,dword [ebp-4]
	mov	edx,dword [edx+esi*4+24]
	push	dword [edx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [ebp-12]
	push	ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,12
	mov	eax,eax
	cmp	eax,0
	jne	_4063
	mov	eax,-1
	jmp	_1941
_4063:
	add	esi,1
_63:
	add	edi,1
_4057:
	cmp	edi,dword [ebp-8]
	jle	_65
_64:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	push	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,8
	add	dword [ebp-16],1
_60:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16]
	cmp	dword [ebp-16],eax
	jl	_62
_61:
	mov	eax,dword [ebp-24]
	jmp	_1941
_1941:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_4066
_68:
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
_66:
	add	ebx,1
_4066:
	cmp	ebx,edi
	jle	_68
_67:
	mov	eax,0
	jmp	_1945
_1945:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_setFilename:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4072
	push	eax
	call	_bbGCFree
	add	esp,4
_4072:
	mov	dword [esi+16],ebx
	mov	eax,0
	jmp	_1949
_1949:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_getFilename:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_1952
_1952:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_setName:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_4076
	push	eax
	call	_bbGCFree
	add	esp,4
_4076:
	mov	dword [esi+12],ebx
	mov	eax,0
	jmp	_1956
_1956:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_getName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_1959
_1959:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	ebx,0
	push	edi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [edi],_c3d_cal3d_CalCoreBone
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [edi+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [edi+12],eax
	mov	dword [edi+16],0
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [edi+20],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [edi+24],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [edi+28],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [edi+32],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [edi+36],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [edi+40],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [edi+44],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [edi+48],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [edi+52],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [edi+56],eax
	mov	byte [edi+60],0
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+8]
	dec	dword [eax+4]
	jnz	_4093
	push	eax
	call	_bbGCFree
	add	esp,4
_4093:
	mov	dword [edi+8],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_4097
	push	eax
	call	_bbGCFree
	add	esp,4
_4097:
	mov	dword [edi+12],ebx
	mov	dword [edi+16],-1
	push	0
	push	_4098
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+20]
	dec	dword [eax+4]
	jnz	_4102
	push	eax
	call	_bbGCFree
	add	esp,4
_4102:
	mov	dword [edi+20],ebx
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_4106
	push	eax
	call	_bbGCFree
	add	esp,4
_4106:
	mov	dword [edi+24],ebx
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_4110
	push	eax
	call	_bbGCFree
	add	esp,4
_4110:
	mov	dword [edi+28],ebx
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+32]
	dec	dword [eax+4]
	jnz	_4114
	push	eax
	call	_bbGCFree
	add	esp,4
_4114:
	mov	dword [edi+32],ebx
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+36]
	dec	dword [eax+4]
	jnz	_4118
	push	eax
	call	_bbGCFree
	add	esp,4
_4118:
	mov	dword [edi+36],ebx
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+40]
	dec	dword [eax+4]
	jnz	_4122
	push	eax
	call	_bbGCFree
	add	esp,4
_4122:
	mov	dword [edi+40],ebx
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+44]
	dec	dword [eax+4]
	jnz	_4126
	push	eax
	call	_bbGCFree
	add	esp,4
_4126:
	mov	dword [edi+44],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [edi+48]
	dec	dword [eax+4]
	jnz	_4130
	push	eax
	call	_bbGCFree
	add	esp,4
_4130:
	mov	dword [edi+48],ebx
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+52]
	dec	dword [eax+4]
	jnz	_4134
	push	eax
	call	_bbGCFree
	add	esp,4
_4134:
	mov	dword [edi+52],ebx
	push	6
	push	_4135
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+56]
	dec	dword [eax+4]
	jnz	_4139
	push	eax
	call	_bbGCFree
	add	esp,4
_4139:
	mov	dword [edi+56],ebx
	mov	esi,0
	jmp	_4141
_72:
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+56]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_4145
	push	eax
	call	_bbGCFree
	add	esp,4
_4145:
	mov	eax,dword [edi+56]
	mov	dword [eax+esi*4+24],ebx
_70:
	add	esi,1
_4141:
	cmp	esi,5
	jle	_72
_71:
	mov	byte [edi+60],0
	mov	eax,0
	jmp	_1962
_1962:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1965:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_4148
	push	eax
	call	_bbGCFree
	add	esp,4
_4148:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_4150
	push	eax
	call	_bbGCFree
	add	esp,4
_4150:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_4152
	push	eax
	call	_bbGCFree
	add	esp,4
_4152:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_4154
	push	eax
	call	_bbGCFree
	add	esp,4
_4154:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_4156
	push	eax
	call	_bbGCFree
	add	esp,4
_4156:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_4158
	push	eax
	call	_bbGCFree
	add	esp,4
_4158:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_4160
	push	eax
	call	_bbGCFree
	add	esp,4
_4160:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_4162
	push	eax
	call	_bbGCFree
	add	esp,4
_4162:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4164
	push	eax
	call	_bbGCFree
	add	esp,4
_4164:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_4166
	push	eax
	call	_bbGCFree
	add	esp,4
_4166:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4168
	push	eax
	call	_bbGCFree
	add	esp,4
_4168:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4170
	push	eax
	call	_bbGCFree
	add	esp,4
_4170:
	mov	eax,0
	jmp	_4146
_4146:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_addChildId:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+20]
	mov	edi,dword [eax+16]
	mov	eax,dword [esi+20]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+20]
	push	_560
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	dword [ebp-8],eax
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4175
	push	eax
	call	_bbGCFree
	add	esp,4
_4175:
	mov	eax,dword [ebp-8]
	mov	dword [esi+20],eax
	mov	eax,dword [esi+20]
	mov	dword [eax+edi*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_1969
_1969:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_calculateState:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	cmp	dword [edi+16],-1
	jne	_4176
	mov	eax,dword [edi+32]
	push	dword [edi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [edi+36]
	push	dword [edi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	jmp	_4179
_4176:
	mov	ebx,dword [edi+12]
	push	dword [edi+16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [edi+32]
	push	dword [edi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	esi,dword [edi+32]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,8
	mov	esi,dword [edi+32]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	mov	eax,dword [edi+36]
	push	dword [edi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	esi,dword [edi+36]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,8
_4179:
	mov	esi,0
	mov	eax,dword [edi+20]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4191
_75:
	mov	ebx,dword [edi+12]
	mov	eax,dword [edi+20]
	push	dword [eax+esi*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_73:
	add	esi,1
_4191:
	cmp	esi,dword [ebp-4]
	jle	_75
_74:
	mov	eax,0
	jmp	_1972
_1972:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getListChildId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_1975
_1975:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_1978
_1978:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getParentId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_1981
_1981:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getCoreSkeleton:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_1984
_1984:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_GetRotation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	jmp	_1987
_1987:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getRotationAbsolute:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_1990
_1990:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getRotationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+44]
	jmp	_1993
_1993:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getTranslation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_1996
_1996:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getTranslationAbsolute:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_1999
_1999:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getTranslationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_2002
_2002:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getUserData:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	jmp	_2005
_2005:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setCoreSkeleton:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_4198
	push	eax
	call	_bbGCFree
	add	esp,4
_4198:
	mov	dword [esi+12],ebx
	mov	eax,0
	jmp	_2009
_2009:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setParentId:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+16],eax
	mov	eax,0
	jmp	_2013
_2013:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_SetRotation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+28]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,0
	jmp	_2017
_2017:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setRotationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+44]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,0
	jmp	_2021
_2021:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setTranslation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+24]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,0
	jmp	_2025
_2025:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setTranslationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+40]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,0
	jmp	_2029
_2029:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setUserData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+48]
	dec	dword [eax+4]
	jnz	_4206
	push	eax
	call	_bbGCFree
	add	esp,4
_4206:
	mov	dword [esi+48],ebx
	mov	eax,0
	jmp	_2033
_2033:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_calculateBoundingBox:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	byte [ebp-4],0
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	dword [ebp-16],eax
	mov	byte [ebp-4],0
	mov	eax,dword [ebp+8]
	push	dword [eax+44]
	call	dword [_c3d_cal3d_CalQuaternion+48]
	add	esp,4
	mov	esi,eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,4
	push	0
	push	0
	push	1065353216
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	ebx,eax
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	0
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+4+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	1065353216
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+8+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	-1082130432
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+12+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	1065353216
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	-1082130432
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	mov	dword [ebp-36],0
	sub	eax,1
	mov	dword [ebp-40],eax
	jmp	_4233
_78:
	mov	eax,dword [ebp+12]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,8
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	dword [ebp-24],0
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_4240
_81:
	mov	eax,dword [ebp-28]
	push	dword [ebp-24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	ebx,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	jne	_4245
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,4
	mov	edi,eax
	mov	esi,0
	mov	eax,dword [edi+16]
	sub	eax,1
	mov	dword [ebp-20],eax
	jmp	_4249
_84:
	mov	eax,dword [edi+esi*4+24]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	mov	dword [ebp-8],0
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_4253
_87:
	mov	eax,dword [edi+esi*4+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-8]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	cmp	eax,dword [ebp-16]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4255
	mov	eax,dword [edi+esi*4+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-8]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fld	dword [_7959]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4255:
	cmp	eax,0
	je	_4257
	mov	ebx,0
	jmp	_4259
_90:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [edi+esi*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4261
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [edi+esi*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [edi+esi*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	byte [ebp-4],1
_4261:
_88:
	add	ebx,1
_4259:
	cmp	ebx,5
	jle	_90
_89:
_4257:
_85:
	add	dword [ebp-8],1
_4253:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-8],eax
	jle	_87
_86:
_82:
	add	esi,1
_4249:
	cmp	esi,dword [ebp-20]
	jle	_84
_83:
_4245:
_79:
	add	dword [ebp-24],1
_4240:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-24],eax
	jle	_81
_80:
_76:
	add	dword [ebp-36],1
_4233:
	mov	eax,dword [ebp-40]
	cmp	dword [ebp-36],eax
	jle	_78
_77:
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	jne	_4264
	mov	ebx,0
	jmp	_4265
_93:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp+8]
	push	dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp+8]
	push	dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
_91:
	add	ebx,1
_4265:
	cmp	ebx,5
	jle	_93
_92:
_4264:
	mov	eax,dword [ebp+8]
	mov	byte [eax+60],1
	mov	eax,0
	jmp	_2037
_2037:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getBoundingBox:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	jmp	_2040
_2040:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getBoundingData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	ebx,_bbNullObject
	jne	_4268
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
_4268:
	mov	eax,ebx
	mov	edx,dword [esi+56]
	push	dword [edx+edi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,ebx
	jmp	_2045
_2045:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_isBoundingBoxPrecomputed:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+60]
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2048
_2048:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_scale:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	eax,dword [edi+32]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	eax,dword [edi+40]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	esi,0
	mov	eax,dword [edi+20]
	mov	eax,dword [eax+20]
	mov	dword [ebp-4],eax
	jmp	_4274
_96:
	mov	ebx,dword [edi+12]
	mov	eax,dword [edi+20]
	push	dword [eax+esi*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
_94:
	add	esi,1
_4274:
	cmp	esi,dword [ebp-4]
	jle	_96
_95:
	mov	eax,0
	jmp	_2052
_2052:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreSkeleton
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	push	0
	push	_4281
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4285
	push	eax
	call	_bbGCFree
	add	esp,4
_4285:
	mov	dword [ebx+8],esi
	push	_c3d_cal3d_StringMap
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4289
	push	eax
	call	_bbGCFree
	add	esp,4
_4289:
	mov	dword [ebx+12],esi
	push	0
	push	_4290
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4294
	push	eax
	call	_bbGCFree
	add	esp,4
_4294:
	mov	dword [ebx+16],esi
	mov	eax,0
	jmp	_2055
_2055:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2058:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4297
	push	eax
	call	_bbGCFree
	add	esp,4
_4297:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4299
	push	eax
	call	_bbGCFree
	add	esp,4
_4299:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4301
	push	eax
	call	_bbGCFree
	add	esp,4
_4301:
	mov	eax,0
	jmp	_4295
_4295:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_addCoreBone:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_1033
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4306
	push	eax
	call	_bbGCFree
	add	esp,4
_4306:
	mov	dword [esi+8],ebx
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_4310
	push	eax
	call	_bbGCFree
	add	esp,4
_4310:
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	dword [edx+eax*4+24],ebx
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	cmp	eax,-1
	jne	_4312
	mov	eax,dword [esi+16]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+16]
	push	_560
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4317
	push	eax
	call	_bbGCFree
	add	esp,4
_4317:
	mov	dword [esi+16],edi
	mov	edx,dword [esi+16]
	mov	eax,dword [ebp-4]
	mov	dword [edx+ebx*4+24],eax
_4312:
	mov	ebx,esi
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	dword [ebp-4]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,12
	mov	eax,dword [ebp-4]
	jmp	_2062
_2062:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_calculateState:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_4321
_99:
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+16]
	mov	edx,dword [edx+ebx*4+24]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
_97:
	add	ebx,1
_4321:
	cmp	ebx,edi
	jle	_99
_98:
	mov	eax,0
	jmp	_2065
_2065:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_getCoreBonebyID:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4324
	mov	eax,dword [ecx+8]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_4324:
	cmp	eax,0
	je	_4326
	push	_100
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2069
_4326:
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2069
_2069:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_getCoreBone:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	edx,eax
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4329
	mov	eax,dword [ebx+8]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_4329:
	cmp	eax,0
	je	_4331
	push	_100
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2073
_4331:
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2073
_2073:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_getCoreBoneId:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_4333
	mov	eax,dword [esi+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbStringToInt
	add	esp,4
	jmp	_2077
_4333:
	mov	eax,-1
	jmp	_2077
_2077:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_mapCoreBoneName:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	esi,dword [ebp+16]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4336
	mov	eax,dword [ecx+8]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_4336:
	cmp	eax,0
	je	_4338
	mov	byte [ebp-4],0
	jmp	_2082
_4338:
	mov	ebx,dword [ecx+12]
	push	edx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2082
_2082:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_getVectorRootCoreBoneId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2085
_2085:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_getVectorCoreBone:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2088
_2088:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_calculateBoundingBoxes:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_4341
_103:
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,8
_101:
	add	ebx,1
_4341:
	cmp	ebx,edi
	jle	_103
_102:
	mov	eax,0
	jmp	_2092
_2092:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_scale:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	dword [ebp-4],0
	mov	ebx,0
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_4345
_106:
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	eax,dword [edx+eax*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
_104:
	add	ebx,1
_4345:
	cmp	ebx,edi
	jle	_106
_105:
	mov	eax,0
	jmp	_2096
_2096:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalCoreModel
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+16],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+20],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+24],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+28],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+32],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+36],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+40],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+44],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+48],eax
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4364
	push	eax
	call	_bbGCFree
	add	esp,4
_4364:
	mov	dword [esi+8],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_4368
	push	eax
	call	_bbGCFree
	add	esp,4
_4368:
	mov	dword [esi+12],ebx
	push	0
	push	_4369
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4373
	push	eax
	call	_bbGCFree
	add	esp,4
_4373:
	mov	dword [esi+16],ebx
	push	0
	push	_4374
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4378
	push	eax
	call	_bbGCFree
	add	esp,4
_4378:
	mov	dword [esi+20],ebx
	push	0
	push	_4379
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4383
	push	eax
	call	_bbGCFree
	add	esp,4
_4383:
	mov	dword [esi+24],ebx
	push	0
	push	_4384
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_4388
	push	eax
	call	_bbGCFree
	add	esp,4
_4388:
	mov	dword [esi+28],ebx
	push	_c3d_cal3d_IntMap
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_4392
	push	eax
	call	_bbGCFree
	add	esp,4
_4392:
	mov	dword [esi+32],ebx
	push	_c3d_cal3d_StringMap
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_4396
	push	eax
	call	_bbGCFree
	add	esp,4
_4396:
	mov	dword [esi+36],ebx
	push	_c3d_cal3d_StringMap
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_4400
	push	eax
	call	_bbGCFree
	add	esp,4
_4400:
	mov	dword [esi+40],ebx
	push	_c3d_cal3d_StringMap
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+44]
	dec	dword [eax+4]
	jnz	_4404
	push	eax
	call	_bbGCFree
	add	esp,4
_4404:
	mov	dword [esi+44],ebx
	mov	eax,0
	jmp	_2099
_2099:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2102:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_4407
	push	eax
	call	_bbGCFree
	add	esp,4
_4407:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_4409
	push	eax
	call	_bbGCFree
	add	esp,4
_4409:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_4411
	push	eax
	call	_bbGCFree
	add	esp,4
_4411:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_4413
	push	eax
	call	_bbGCFree
	add	esp,4
_4413:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_4415
	push	eax
	call	_bbGCFree
	add	esp,4
_4415:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_4417
	push	eax
	call	_bbGCFree
	add	esp,4
_4417:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4419
	push	eax
	call	_bbGCFree
	add	esp,4
_4419:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_4421
	push	eax
	call	_bbGCFree
	add	esp,4
_4421:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4423
	push	eax
	call	_bbGCFree
	add	esp,4
_4423:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4425
	push	eax
	call	_bbGCFree
	add	esp,4
_4425:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4427
	push	eax
	call	_bbGCFree
	add	esp,4
_4427:
	mov	eax,0
	jmp	_4405
_4405:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getUserData:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	jmp	_2105
_2105:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_setUserData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+48]
	dec	dword [eax+4]
	jnz	_4431
	push	eax
	call	_bbGCFree
	add	esp,4
_4431:
	mov	dword [esi+48],ebx
	mov	eax,0
	jmp	_2109
_2109:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+12]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
	mov	esi,0
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	ebx,eax
	jmp	_4434
_110:
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+esi*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
_108:
	add	esi,1
_4434:
	cmp	esi,ebx
	jle	_110
_109:
	mov	esi,0
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	ebx,eax
	jmp	_4438
_113:
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+esi*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_111:
	add	esi,1
_4438:
	cmp	esi,ebx
	jle	_113
_112:
	mov	eax,0
	jmp	_2113
_2113:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addCoreAnimation:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+16]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+16]
	push	_1120
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4445
	push	eax
	call	_bbGCFree
	add	esp,4
_4445:
	mov	eax,dword [ebp-4]
	mov	dword [esi+16],eax
	mov	eax,edi
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_4449
	push	eax
	call	_bbGCFree
	add	esp,4
_4449:
	mov	eax,dword [esi+16]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_2117
_2117:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreAnimation:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4450
	mov	eax,dword [ecx+16]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_4450:
	cmp	eax,0
	je	_4452
	push	_114
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2121
_4452:
	mov	eax,dword [ecx+16]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2121
_2121:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreAnimationCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	jmp	_2124
_2124:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_loadCoreAnimation:
	push	ebp
	mov	ebp,esp
	push	_115
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2128
_2128:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreAnimationbyID:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4453
	mov	eax,dword [edi+16]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_4453:
	cmp	eax,0
	je	_4455
	push	_114
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2132
_4455:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_4459
	push	eax
	call	_bbGCFree
	add	esp,4
_4459:
	mov	eax,dword [edi+16]
	mov	dword [eax+esi*4+24],ebx
	mov	eax,esi
	jmp	_2132
_2132:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreAnimation:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,edi
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	mov	esi,eax
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4462
	mov	eax,dword [edi+16]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_4462:
	cmp	eax,0
	je	_4464
	push	_114
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2136
_4464:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_4468
	push	eax
	call	_bbGCFree
	add	esp,4
_4468:
	mov	eax,dword [edi+16]
	mov	dword [eax+esi*4+24],ebx
	mov	eax,esi
	jmp	_2136
_2136:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_saveCoreAnimation:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	_116
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2141
_2141:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addAnimationName:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4469
	mov	eax,dword [esi+16]
	cmp	ebx,dword [eax+16]
	setge	al
	movzx	eax,al
_4469:
	cmp	eax,0
	je	_4471
	push	_114
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2146
_4471:
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	esi,dword [esi+36]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	edi
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2146
_2146:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreAnimationId:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+36]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_4475
	mov	eax,dword [esi+36]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbStringToInt
	add	esp,4
	jmp	_2150
_4475:
	mov	eax,-1
	jmp	_2150
_2150:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addCoreMorphAnimation:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+20]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+20]
	push	_4479
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4483
	push	eax
	call	_bbGCFree
	add	esp,4
_4483:
	mov	eax,dword [ebp-4]
	mov	dword [esi+20],eax
	mov	eax,edi
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+20]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_4487
	push	eax
	call	_bbGCFree
	add	esp,4
_4487:
	mov	eax,dword [esi+20]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_2154
_2154:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMorphAnimation:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4488
	mov	eax,dword [ecx+20]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_4488:
	cmp	eax,0
	je	_4490
	push	_117
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2158
_4490:
	mov	eax,dword [ecx+20]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2158
_2158:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMorphAnimationCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+20]
	jmp	_2161
_2161:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addCoreMaterial:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+28]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+28]
	push	_4492
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_4496
	push	eax
	call	_bbGCFree
	add	esp,4
_4496:
	mov	eax,dword [ebp-4]
	mov	dword [esi+28],eax
	mov	eax,edi
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_4500
	push	eax
	call	_bbGCFree
	add	esp,4
_4500:
	mov	eax,dword [esi+28]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_2165
_2165:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_createCoreMaterialThread:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,dword [eax+32]
	push	_c3d_cal3d_IntMap
	call	_bbObjectNew
	add	esp,4
	push	eax
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2169
_2169:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMaterial:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4502
	mov	eax,dword [ecx+28]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_4502:
	cmp	eax,0
	je	_4504
	push	_118
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2173
_4504:
	mov	eax,dword [ecx+28]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2173
_2173:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMaterialCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+16]
	jmp	_2176
_2176:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMaterialId:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+40]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_4506
	mov	eax,dword [esi+40]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbStringToInt
	add	esp,4
	jmp	_2180
_4506:
	mov	eax,-1
	jmp	_2180
_2180:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMaterialIdbyID:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	eax,dword [esi+32]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_4510
	mov	eax,dword [esi+32]
	push	_c3d_cal3d_IntMap
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	push	edi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_4514
	push	edi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+24]
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	jmp	_2185
_4514:
	mov	eax,-1
	jmp	_2185
_4510:
	mov	eax,-1
	jmp	_2185
_2185:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_loadCoreMaterial:
	push	ebp
	mov	ebp,esp
	push	_119
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2189
_2189:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreMaterialbyID:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4519
	mov	eax,dword [edi+28]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_4519:
	cmp	eax,0
	je	_4521
	push	_118
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2193
_4521:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+28]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_4525
	push	eax
	call	_bbGCFree
	add	esp,4
_4525:
	mov	eax,dword [edi+28]
	mov	dword [eax+esi*4+24],ebx
	mov	eax,esi
	jmp	_2193
_2193:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreMaterial:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,edi
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	mov	esi,eax
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4528
	mov	eax,dword [edi+28]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_4528:
	cmp	eax,0
	je	_4530
	push	_118
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2197
_4530:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+28]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_4534
	push	eax
	call	_bbGCFree
	add	esp,4
_4534:
	mov	eax,dword [edi+28]
	mov	dword [eax+esi*4+24],ebx
	mov	eax,esi
	jmp	_2197
_2197:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_saveCoreMaterial:
	push	ebp
	mov	ebp,esp
	push	_120
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2202
_2202:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_setCoreMaterialId:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+20]
	mov	eax,dword [esi+32]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_4536
	mov	eax,dword [esi+32]
	push	_c3d_cal3d_IntMap
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	push	edi
	call	_bbHandleToObject
	add	esp,4
	push	eax
	push	dword [ebp+16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2208
_4536:
	mov	byte [ebp-4],0
	jmp	_2208
_2208:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addMaterialName:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4541
	mov	eax,dword [esi+28]
	cmp	ebx,dword [eax+16]
	setge	al
	movzx	eax,al
_4541:
	cmp	eax,0
	je	_4543
	push	_118
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2213
_4543:
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+ebx*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	mov	esi,dword [esi+40]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	edi
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2213
_2213:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addCoreMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+24]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+24]
	push	_1017
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4550
	push	eax
	call	_bbGCFree
	add	esp,4
_4550:
	mov	eax,dword [ebp-4]
	mov	dword [esi+24],eax
	mov	eax,edi
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+24]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_4554
	push	eax
	call	_bbGCFree
	add	esp,4
_4554:
	mov	eax,dword [esi+24]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_2217
_2217:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMesh:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4555
	mov	eax,dword [ecx+24]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_4555:
	cmp	eax,0
	je	_4557
	push	_121
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2221
_4557:
	mov	eax,dword [ecx+24]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2221
_2221:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMeshCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+16]
	jmp	_2224
_2224:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_loadCoreMesh:
	push	ebp
	mov	ebp,esp
	push	_122
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2228
_2228:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreMeshbyID:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4558
	mov	eax,dword [edi+24]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_4558:
	cmp	eax,0
	je	_4560
	push	_121
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2232
_4560:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_4564
	push	eax
	call	_bbGCFree
	add	esp,4
_4564:
	mov	eax,dword [edi+24]
	mov	dword [eax+esi*4+24],ebx
	mov	eax,esi
	jmp	_2232
_2232:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,edi
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+188]
	add	esp,8
	mov	esi,eax
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4567
	mov	eax,dword [edi+24]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_4567:
	cmp	eax,0
	je	_4569
	push	_121
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2236
_4569:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+24]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_4573
	push	eax
	call	_bbGCFree
	add	esp,4
_4573:
	mov	eax,dword [edi+24]
	mov	dword [eax+esi*4+24],ebx
	mov	eax,esi
	jmp	_2236
_2236:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_saveCoreMesh:
	push	ebp
	mov	ebp,esp
	push	_123
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2241
_2241:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addMeshName:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4574
	mov	eax,dword [esi+24]
	cmp	ebx,dword [eax+16]
	setge	al
	movzx	eax,al
_4574:
	cmp	eax,0
	je	_4576
	push	_121
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2246
_4576:
	mov	eax,dword [esi+24]
	mov	eax,dword [eax+ebx*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,8
	mov	esi,dword [esi+44]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	edi
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2246
_2246:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMeshId:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+44]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_4580
	mov	eax,dword [esi+44]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbStringToInt
	add	esp,4
	jmp	_2250
_4580:
	mov	eax,-1
	jmp	_2250
_2250:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreSkeleton:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2253
_2253:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_loadCoreSkeleton:
	push	ebp
	mov	ebp,esp
	push	_124
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2257
_2257:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_saveCoreSkeleton:
	push	ebp
	mov	ebp,esp
	push	_125
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_2261
_2261:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_setCoreSkeleton:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	cmp	ebx,_bbNullObject
	je	_4583
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_4587
	push	eax
	call	_bbGCFree
	add	esp,4
_4587:
	mov	dword [esi+12],ebx
	jmp	_4588
_4583:
	push	_126
	call	_brl_blitz_DebugLog
	add	esp,4
_4588:
	mov	eax,0
	jmp	_2265
_2265:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addBoneName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	dword [eax+12],_bbNullObject
	je	_4589
	mov	eax,dword [eax+12]
	push	ecx
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,12
_4589:
	mov	eax,0
	jmp	_2270
_2270:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getBoneId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	dword [eax+12],_bbNullObject
	je	_4591
	mov	eax,dword [eax+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	jmp	_4593
_4591:
	mov	eax,-1
	jmp	_2274
_4593:
	mov	eax,0
	jmp	_2274
_2274:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalCoreAnimation
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	fldz
	fstp	dword [esi+12]
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+16],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [esi+20],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [esi+24],eax
	push	0
	push	_4598
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4602
	push	eax
	call	_bbGCFree
	add	esp,4
_4602:
	mov	dword [esi+8],ebx
	fldz
	fstp	dword [esi+12]
	push	0
	push	_4603
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4607
	push	eax
	call	_bbGCFree
	add	esp,4
_4607:
	mov	dword [esi+16],ebx
	mov	ebx,_127
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4611
	push	eax
	call	_bbGCFree
	add	esp,4
_4611:
	mov	dword [esi+20],ebx
	mov	ebx,_22
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4615
	push	eax
	call	_bbGCFree
	add	esp,4
_4615:
	mov	dword [esi+24],ebx
	mov	eax,0
	jmp	_2277
_2277:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2280:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4618
	push	eax
	call	_bbGCFree
	add	esp,4
_4618:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_4620
	push	eax
	call	_bbGCFree
	add	esp,4
_4620:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4622
	push	eax
	call	_bbGCFree
	add	esp,4
_4622:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4624
	push	eax
	call	_bbGCFree
	add	esp,4
_4624:
	mov	eax,0
	jmp	_4616
_4616:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_addCoreTrack:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+16]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+16]
	push	_4626
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4630
	push	eax
	call	_bbGCFree
	add	esp,4
_4630:
	mov	dword [esi+16],ebx
	mov	ebx,edi
	inc	dword [ebx+4]
	mov	edx,dword [esi+16]
	mov	eax,dword [ebp-8]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_4634
	push	eax
	call	_bbGCFree
	add	esp,4
_4634:
	mov	edx,dword [esi+16]
	mov	eax,dword [ebp-8]
	mov	dword [edx+eax*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_2284
_2284:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getCoreTrack:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4636
_130:
	mov	eax,dword [edi+16]
	mov	ebx,dword [eax+esi*4+24]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,dword [ebp+12]
	jne	_4640
	mov	eax,ebx
	jmp	_2288
_4640:
_128:
	add	esi,1
_4636:
	cmp	esi,dword [ebp-4]
	jle	_130
_129:
	mov	eax,_bbNullObject
	jmp	_2288
_2288:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getDuration:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+12]
	jmp	_2291
_2291:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_setDuration:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	mov	eax,0
	jmp	_2295
_2295:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_4642
_133:
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
_131:
	add	ebx,1
_4642:
	cmp	ebx,edi
	jle	_133
_132:
	mov	eax,0
	jmp	_2299
_2299:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_setFilename:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4648
	push	eax
	call	_bbGCFree
	add	esp,4
_4648:
	mov	dword [esi+24],ebx
	mov	eax,0
	jmp	_2303
_2303:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getFilename:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_2306
_2306:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_setName:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4652
	push	eax
	call	_bbGCFree
	add	esp,4
_4652:
	mov	dword [esi+20],ebx
	mov	eax,0
	jmp	_2310
_2310:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_2313
_2313:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_registerCallback:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	push	_c3d_cal3d_CalCallbackRecord
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4657
	push	eax
	call	_bbGCFree
	add	esp,4
_4657:
	mov	dword [esi+8],ebx
	fld	dword [ebp+16]
	fstp	dword [esi+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	ebx,dword [eax+16]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	_4659
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_4663
	push	eax
	call	_bbGCFree
	add	esp,4
_4663:
	mov	eax,dword [ebp+8]
	mov	dword [eax+8],edi
	inc	dword [esi+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_4667
	push	eax
	call	_bbGCFree
	add	esp,4
_4667:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	dword [eax+ebx*4+24],esi
	mov	eax,0
	jmp	_2318
_2318:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_removeCallback:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	push	eax
	push	_4668
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	mov	edi,0
	mov	esi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4672
_136:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+esi*4+24]
	mov	eax,dword [ebp+12]
	cmp	dword [edx+8],eax
	je	_4674
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+esi*4+24]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edi*4+24]
	dec	dword [eax+4]
	jnz	_4678
	push	eax
	call	_bbGCFree
	add	esp,4
_4678:
	mov	eax,dword [ebp-4]
	mov	dword [eax+edi*4+24],ebx
	add	edi,1
_4674:
_134:
	add	esi,1
_4672:
	cmp	esi,dword [ebp-8]
	jle	_136
_135:
	mov	ebx,dword [ebp-4]
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_4682
	push	eax
	call	_bbGCFree
	add	esp,4
_4682:
	mov	eax,dword [ebp+8]
	mov	dword [eax+8],ebx
	mov	eax,0
	jmp	_2322
_2322:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getCallbackList:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2325
_2325:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getTrackCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	jmp	_2328
_2328:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getListCoreTrack:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2331
_2331:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getTotalNumberOfKeyframes:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	mov	ebx,0
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4685
_139:
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	add	esi,eax
_137:
	add	ebx,1
_4685:
	cmp	ebx,dword [ebp-4]
	jle	_139
_138:
	mov	eax,esi
	jmp	_2334
_2334:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCallbackRecord_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCallbackRecord
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	fldz
	fstp	dword [ebx+12]
	push	_c3d_cal3d_CalAnimationCallback
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4693
	push	eax
	call	_bbGCFree
	add	esp,4
_4693:
	mov	dword [ebx+8],esi
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
	jmp	_2337
_2337:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCallbackRecord_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_2340:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_4696
	push	eax
	call	_bbGCFree
	add	esp,4
_4696:
	mov	eax,0
	jmp	_4694
_4694:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCallbackRecord_FromCallback:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalCallbackRecord
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4701
	push	eax
	call	_bbGCFree
	add	esp,4
_4701:
	mov	dword [esi+8],ebx
	fld	dword [ebp+12]
	fstp	dword [esi+12]
	mov	eax,esi
	jmp	_2344
_2344:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreKeyframe
	fldz
	fstp	dword [ebx+8]
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	fldz
	fstp	dword [ebx+8]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4707
	push	eax
	call	_bbGCFree
	add	esp,4
_4707:
	mov	dword [ebx+12],esi
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4711
	push	eax
	call	_bbGCFree
	add	esp,4
_4711:
	mov	dword [ebx+16],esi
	mov	eax,0
	jmp	_2347
_2347:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2350:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4714
	push	eax
	call	_bbGCFree
	add	esp,4
_4714:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4716
	push	eax
	call	_bbGCFree
	add	esp,4
_4716:
	mov	eax,0
	jmp	_4712
_4712:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_FromData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_c3d_cal3d_CalCoreKeyframe
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	fld	dword [ebp+8]
	fstp	dword [ebx+8]
	push	esi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4721
	push	eax
	call	_bbGCFree
	add	esp,4
_4721:
	mov	dword [ebx+12],esi
	push	edi
	call	dword [_c3d_cal3d_CalQuaternion+48]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4725
	push	eax
	call	_bbGCFree
	add	esp,4
_4725:
	mov	dword [ebx+16],esi
	mov	eax,ebx
	jmp	_2355
_2355:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	byte [ebp-4],1
	jmp	_2358
_2358:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_destroy:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_2361
_2361:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_GetRotation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2364
_2364:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_getTranslation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2367
_2367:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_getTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	jmp	_2370
_2370:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_SetRotation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+16]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,0
	jmp	_2374
_2374:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_setTranslation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,0
	jmp	_2378
_2378:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_setTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+8]
	mov	eax,0
	jmp	_2382
_2382:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreTrack
	mov	dword [ebx+8],0
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	dword [ebx+8],-1
	push	0
	push	_4729
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4733
	push	eax
	call	_bbGCFree
	add	esp,4
_4733:
	mov	dword [ebx+12],esi
	mov	eax,0
	jmp	_2385
_2385:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_2388:
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_4736
	push	eax
	call	_bbGCFree
	add	esp,4
_4736:
	mov	eax,0
	jmp	_4734
_4734:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	byte [ebp-4],1
	jmp	_2391
_2391:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_destroy:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	0
	push	_4737
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4741
	push	eax
	call	_bbGCFree
	add	esp,4
_4741:
	mov	dword [ebx+12],esi
	mov	eax,0
	jmp	_2394
_2394:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_getState:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,edi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [edi+12]
	cmp	ebx,dword [eax+16]
	jne	_4745
	sub	ebx,1
	mov	esi,dword [ebp+20]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,8
	mov	esi,dword [ebp+16]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,8
	mov	byte [ebp-4],1
	jmp	_2400
_4745:
	cmp	ebx,0
	jne	_4750
	mov	esi,dword [ebp+20]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,8
	mov	esi,dword [ebp+16]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,8
	mov	byte [ebp-4],1
	jmp	_2400
_4750:
	mov	eax,ebx
	sub	eax,1
	mov	edx,dword [edi+12]
	mov	esi,dword [edx+eax*4+24]
	mov	eax,dword [edi+12]
	mov	edi,dword [eax+ebx*4+24]
	mov	eax,esi
	mov	ebx,edi
	fld	dword [ebp+12]
	fstp	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fstp	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	fstp	dword [ebp-16]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp-16]
	fsubrp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-8]
	fdiv	dword [ebp-16]
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [ebp-20]
	mov	ebx,dword [ebp+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,dword [ebp+16]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,12
	mov	ebx,dword [ebp+20]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	mov	ebx,dword [ebp+20]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2400
_2400:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_getCoreBoneId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2403
_2403:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_setCoreBoneId:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,0
	jge	_4769
	mov	byte [ebp-4],0
	jmp	_2407
_4769:
	mov	dword [edx+8],eax
	mov	byte [ebp-4],1
	jmp	_2407
_2407:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_getCoreKeyframeCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	jmp	_2410
_2410:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_getCoreKeyframe:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2414
_2414:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_addCoreKeyframe:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+12]
	push	_4770
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_4774
	push	eax
	call	_bbGCFree
	add	esp,4
_4774:
	mov	eax,dword [ebp+8]
	mov	dword [eax+12],ebx
	inc	dword [esi+4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_4778
	push	eax
	call	_bbGCFree
	add	esp,4
_4778:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [edx+eax*4+24],esi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_140
_142:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	esi,dword [eax+edi*4+24]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,edi
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+edi*4+24]
	dec	dword [eax+4]
	jnz	_4788
	push	eax
	call	_bbGCFree
	add	esp,4
_4788:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [eax+edi*4+24],ebx
	mov	ebx,esi
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,edi
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_4792
	push	eax
	call	_bbGCFree
	add	esp,4
_4792:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,edi
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	sub	edi,1
_140:
	cmp	edi,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_4782
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+edi*4+24]
	mov	edx,dword [ebp+8]
	mov	ecx,dword [edx+12]
	mov	edx,edi
	sub	edx,1
	mov	ebx,dword [ecx+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fstp	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4782:
	cmp	eax,0
	jne	_142
_141:
	mov	byte [ebp-4],1
	jmp	_2418
_2418:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_removeCoreKeyFrame:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	push	eax
	push	_4793
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	mov	edi,0
	mov	esi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4797
_145:
	cmp	esi,dword [ebp+12]
	je	_4799
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+esi*4+24]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edi*4+24]
	dec	dword [eax+4]
	jnz	_4803
	push	eax
	call	_bbGCFree
	add	esp,4
_4803:
	mov	eax,dword [ebp-4]
	mov	dword [eax+edi*4+24],ebx
	add	edi,1
_4799:
_143:
	add	esi,1
_4797:
	cmp	esi,dword [ebp-8]
	jle	_145
_144:
	mov	ebx,dword [ebp-4]
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_4807
	push	eax
	call	_bbGCFree
	add	esp,4
_4807:
	mov	eax,dword [ebp+8]
	mov	dword [eax+12],ebx
	mov	eax,0
	jmp	_2422
_2422:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_4809
_148:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
_146:
	add	ebx,1
_4809:
	cmp	ebx,edi
	jle	_148
_147:
	mov	eax,0
	jmp	_2426
_2426:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_getUpperBound:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	esi,eax
	jmp	_149
_151:
	mov	eax,edi
	add	eax,esi
	shr	eax,1
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_4817
	mov	edi,ebx
	jmp	_4818
_4817:
	mov	esi,ebx
_4818:
_149:
	mov	eax,esi
	sub	eax,1
	cmp	edi,eax
	jl	_151
_150:
	mov	eax,esi
	jmp	_2430
_2430:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphAnimation_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreMorphAnimation
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	push	0
	push	_4821
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4825
	push	eax
	call	_bbGCFree
	add	esp,4
_4825:
	mov	dword [ebx+8],esi
	push	0
	push	_4826
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4830
	push	eax
	call	_bbGCFree
	add	esp,4
_4830:
	mov	dword [ebx+12],esi
	mov	eax,0
	jmp	_2433
_2433:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphAnimation_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2436:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4833
	push	eax
	call	_bbGCFree
	add	esp,4
_4833:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4835
	push	eax
	call	_bbGCFree
	add	esp,4
_4835:
	mov	eax,0
	jmp	_4831
_4831:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphAnimation_addMorphTarget:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_560
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4839
	push	eax
	call	_bbGCFree
	add	esp,4
_4839:
	mov	dword [esi+8],edi
	mov	edx,dword [esi+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+12]
	push	_560
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_4843
	push	eax
	call	_bbGCFree
	add	esp,4
_4843:
	mov	dword [esi+12],ebx
	mov	ecx,dword [esi+12]
	mov	eax,dword [esi+12]
	mov	edx,dword [eax+16]
	sub	edx,1
	mov	eax,dword [ebp+16]
	mov	dword [ecx+edx*4+24],eax
	mov	byte [ebp-4],1
	jmp	_2441
_2441:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphAnimation_getVectorCoreMeshID:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2444
_2444:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphAnimation_getVectorMorphTargetID:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2447
_2447:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalCoreSubMorphTarget
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	push	0
	push	_4846
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4850
	push	eax
	call	_bbGCFree
	add	esp,4
_4850:
	mov	dword [esi+8],edi
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_4855
	push	eax
	call	_bbGCFree
	add	esp,4
_4855:
	mov	dword [esi+12],ebx
	mov	eax,0
	jmp	_2450
_2450:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2453:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4858
	push	eax
	call	_bbGCFree
	add	esp,4
_4858:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4860
	push	eax
	call	_bbGCFree
	add	esp,4
_4860:
	mov	eax,0
	jmp	_4856
_4856:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_getBlendVertexCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16]
	jmp	_2456
_2456:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_getVectorBlendVertex:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2459
_2459:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_reserve:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	_4861
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4865
	push	eax
	call	_bbGCFree
	add	esp,4
_4865:
	mov	dword [ebx+8],esi
	mov	byte [ebp-4],1
	jmp	_2463
_2463:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_setBlendVertex:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4866
	mov	eax,dword [edi+8]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_4866:
	cmp	eax,0
	je	_4868
	mov	byte [ebp-4],0
	jmp	_2468
_4868:
	inc	dword [edx+4]
	mov	ebx,edx
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_4872
	push	eax
	call	_bbGCFree
	add	esp,4
_4872:
	mov	eax,dword [edi+8]
	mov	dword [eax+esi*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_2468
_2468:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBlendVertex_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__c3d_cal3d_CalVertex_New
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalBlendVertex
	mov	eax,0
	jmp	_2471
_2471:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBlendVertex_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_2474:
	mov	dword [eax],_c3d_cal3d_CalVertex
	push	eax
	call	__c3d_cal3d_CalVertex_Delete
	add	esp,4
	mov	eax,0
	jmp	_4873
_4873:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalSubmesh
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+16],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+20],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+24],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+28],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+32],eax
	mov	dword [esi+36],0
	mov	dword [esi+40],0
	mov	dword [esi+44],0
	mov	byte [esi+48],0
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4884
	push	eax
	call	_bbGCFree
	add	esp,4
_4884:
	mov	dword [esi+8],ebx
	push	0
	push	_4885
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_4889
	push	eax
	call	_bbGCFree
	add	esp,4
_4889:
	mov	dword [esi+12],ebx
	push	0
	push	_4890
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4894
	push	eax
	call	_bbGCFree
	add	esp,4
_4894:
	mov	dword [esi+16],ebx
	push	0
	push	_4895
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4899
	push	eax
	call	_bbGCFree
	add	esp,4
_4899:
	mov	dword [esi+20],ebx
	push	0
	push	0
	push	0
	push	0
	push	dword [esi+24]
	push	_3860
	call	_bbArraySlice
	add	esp,16
	push	eax
	push	_3860
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4903
	push	eax
	call	_bbGCFree
	add	esp,4
_4903:
	mov	dword [esi+24],ebx
	push	0
	push	_4904
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_4908
	push	eax
	call	_bbGCFree
	add	esp,4
_4908:
	mov	dword [esi+28],ebx
	push	0
	push	_4909
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_4913
	push	eax
	call	_bbGCFree
	add	esp,4
_4913:
	mov	dword [esi+32],ebx
	mov	dword [esi+36],0
	mov	dword [esi+40],0
	mov	dword [esi+44],-1
	mov	byte [esi+48],0
	mov	eax,0
	jmp	_2477
_2477:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2480:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_4916
	push	eax
	call	_bbGCFree
	add	esp,4
_4916:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_4918
	push	eax
	call	_bbGCFree
	add	esp,4
_4918:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4920
	push	eax
	call	_bbGCFree
	add	esp,4
_4920:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_4922
	push	eax
	call	_bbGCFree
	add	esp,4
_4922:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4924
	push	eax
	call	_bbGCFree
	add	esp,4
_4924:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4926
	push	eax
	call	_bbGCFree
	add	esp,4
_4926:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4928
	push	eax
	call	_bbGCFree
	add	esp,4
_4928:
	mov	eax,0
	jmp	_4914
_4914:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_FromCore:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	push	_c3d_cal3d_CalSubmesh
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	mov	ebx,dword [ebp+8]
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_4933
	push	eax
	call	_bbGCFree
	add	esp,4
_4933:
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],ebx
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,4
	push	eax
	push	_4934
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_4939
	push	eax
	call	_bbGCFree
	add	esp,4
_4939:
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],ebx
	push	0
	push	_4940
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_4944
	push	eax
	call	_bbGCFree
	add	esp,4
_4944:
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],ebx
	push	0
	push	_4945
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	dec	dword [eax+4]
	jnz	_4949
	push	eax
	call	_bbGCFree
	add	esp,4
_4949:
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],ebx
	push	0
	push	0
	push	0
	push	0
	mov	eax,dword [ebp-4]
	push	dword [eax+24]
	push	_3860
	call	_bbArraySlice
	add	esp,16
	push	eax
	push	_3860
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_4953
	push	eax
	call	_bbGCFree
	add	esp,4
_4953:
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],ebx
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	push	_4954
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	dec	dword [eax+4]
	jnz	_4959
	push	eax
	call	_bbGCFree
	add	esp,4
_4959:
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],ebx
	push	0
	push	_4960
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+32]
	dec	dword [eax+4]
	jnz	_4964
	push	eax
	call	_bbGCFree
	add	esp,4
_4964:
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],ebx
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],-1
	mov	eax,dword [ebp-4]
	mov	byte [eax+48],0
	mov	esi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_4966
_155:
	push	_c3d_cal3d_CalFace
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_4971
	push	eax
	call	_bbGCFree
	add	esp,4
_4971:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	dword [eax+esi*4+24],ebx
_153:
	add	esi,1
_4966:
	cmp	esi,edi
	jle	_155
_154:
	mov	eax,dword [ebp-4]
	push	1065353216
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,4
	mov	edx,0
	sub	eax,1
	jmp	_4976
_158:
	mov	ecx,dword [ebp-4]
	mov	ecx,dword [ecx+12]
	fldz
	fstp	dword [ecx+edx*4+24]
_156:
	add	edx,1
_4976:
	cmp	edx,eax
	jle	_158
_157:
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	jle	_4979
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	esi,eax
	push	esi
	push	_4982
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_4986
	push	eax
	call	_bbGCFree
	add	esp,4
_4986:
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],ebx
	push	esi
	push	_4987
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	dec	dword [eax+4]
	jnz	_4991
	push	eax
	call	_bbGCFree
	add	esp,4
_4991:
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],ebx
	mov	eax,dword [ebp+8]
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	push	dword [eax+20]
	push	0
	mov	eax,dword [ebp-4]
	push	dword [eax+24]
	push	_3860
	call	_bbArraySlice
	add	esp,16
	push	eax
	push	_3860
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_4996
	push	eax
	call	_bbGCFree
	add	esp,4
_4996:
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],ebx
	push	esi
	push	_4997
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+32]
	dec	dword [eax+4]
	jnz	_5001
	push	eax
	call	_bbGCFree
	add	esp,4
_5001:
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],ebx
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	edi,eax
	mov	ebx,0
	mov	eax,esi
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_5005
_161:
	mov	eax,dword [edi+ebx*4+24]
	push	dword [eax+8]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_5010
	push	eax
	call	_bbGCFree
	add	esp,4
_5010:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	mov	dword [eax+ebx*4+24],esi
	push	_c3d_cal3d_CalPhysicalProperty
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	edx,dword [esi+12]
	mov	eax,dword [edi+ebx*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	edx,dword [esi+16]
	mov	eax,dword [edi+ebx*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+32]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_5017
	push	eax
	call	_bbGCFree
	add	esp,4
_5017:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+32]
	mov	dword [eax+ebx*4+24],esi
	mov	eax,dword [edi+ebx*4+24]
	push	dword [eax+12]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_5021
	push	eax
	call	_bbGCFree
	add	esp,4
_5021:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	mov	dword [eax+ebx*4+24],esi
_159:
	add	ebx,1
_5005:
	cmp	ebx,dword [ebp-8]
	jle	_161
_160:
	mov	eax,dword [ebp-4]
	mov	byte [eax+48],1
_4979:
	mov	eax,dword [ebp-4]
	jmp	_2483
_2483:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getCoreSubmesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2486
_2486:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getCoreMaterialId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+44]
	jmp	_2489
_2489:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getFaceCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_2492
_2492:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getFaces:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	esi,0
	mov	ebx,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5024
_164:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+ebx*4+24]
	mov	ecx,dword [eax+8]
	mov	eax,dword [ecx+24]
	mov	dword [edi+esi*4+24],eax
	mov	edx,esi
	add	edx,1
	mov	eax,dword [ecx+4+24]
	mov	dword [edi+edx*4+24],eax
	mov	eax,esi
	add	eax,2
	mov	edx,dword [ecx+8+24]
	mov	dword [edi+eax*4+24],edx
	add	esi,3
_162:
	add	ebx,1
_5024:
	cmp	ebx,dword [ebp-4]
	jle	_164
_163:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_2496
_2496:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorNormal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_2499
_2499:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorVectorTangentSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_2502
_2502:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorPhysicalProperty:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_2505
_2505:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorVertex:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2508
_2508:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVertexCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_2511
_2511:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_hasInternalData:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+48]
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2514
_2514:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_disableInternalData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	movzx	eax,byte [ebx+48]
	mov	eax,eax
	cmp	eax,1
	jne	_5027
	push	0
	push	_5028
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5032
	push	eax
	call	_bbGCFree
	add	esp,4
_5032:
	mov	dword [ebx+16],esi
	push	0
	push	_5033
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_5037
	push	eax
	call	_bbGCFree
	add	esp,4
_5037:
	mov	dword [ebx+20],esi
	push	0
	push	0
	push	0
	push	0
	push	dword [ebx+24]
	push	_3860
	call	_bbArraySlice
	add	esp,16
	push	eax
	push	_3860
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_5041
	push	eax
	call	_bbGCFree
	add	esp,4
_5041:
	mov	dword [ebx+24],esi
	push	0
	push	_5042
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_5046
	push	eax
	call	_bbGCFree
	add	esp,4
_5046:
	mov	dword [ebx+32],esi
	mov	byte [ebx+48],0
_5027:
	mov	eax,0
	jmp	_2517
_2517:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_setCoreMaterialId:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+44],eax
	mov	eax,0
	jmp	_2521
_2521:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_setLodLevel:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5047
	fld	dword [_8376]
	fstp	dword [ebp+12]
	jmp	_5048
_5047:
	fld1
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5049
	fld	dword [_8377]
	fstp	dword [ebp+12]
_5049:
_5048:
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	esi,eax
	fld	dword [_8378]
	fsub	dword [ebp+12]
	mov	dword [ebp+-12],esi
	fild	dword [ebp+-12]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	esi,eax
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	sub	eax,esi
	mov	dword [ebx+36],eax
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	ecx,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	mov	dword [ebx+40],eax
	mov	eax,dword [ecx+16]
	sub	eax,1
	mov	edx,eax
	mov	eax,dword [ebx+36]
	jmp	_5058
_167:
	mov	esi,dword [ecx+edx*4+24]
	mov	esi,dword [esi+24]
	sub	dword [ebx+40],esi
_165:
	add	edx,-1
_5058:
	cmp	edx,eax
	jge	_167
_166:
	mov	edi,0
	mov	eax,dword [ebx+40]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_5061
_170:
	mov	edx,0
	jmp	_5063
_173:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+edx*4+24]
	jmp	_174
_176:
	mov	eax,dword [ecx+eax*4+24]
	mov	eax,dword [eax+20]
_174:
	cmp	eax,dword [ebx+36]
	jge	_176
_175:
	mov	esi,dword [ebx+28]
	mov	esi,dword [esi+edi*4+24]
	mov	esi,dword [esi+8]
	mov	dword [esi+edx*4+24],eax
_171:
	add	edx,1
_5063:
	cmp	edx,2
	jle	_173
_172:
_168:
	add	edi,1
_5061:
	cmp	edi,dword [ebp-8]
	jle	_170
_169:
	mov	eax,0
	jmp	_2525
_2525:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_isTangentsEnabled:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2529
_2529:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_enableTangents:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	movzx	eax,byte [ebp+16]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	movzx	eax,byte [ebp-4]
	push	eax
	push	dword [ebp+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+96]
	add	esp,12
	mov	eax,eax
	cmp	eax,0
	jne	_5067
	mov	byte [ebp-8],0
	jmp	_2534
_5067:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+48]
	mov	eax,eax
	cmp	eax,0
	jne	_5068
	mov	byte [ebp-8],1
	jmp	_2534
_5068:
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	jne	_5069
	push	0
	push	_5070
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_5074
	push	eax
	call	_bbGCFree
	add	esp,4
_5074:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+12]
	mov	dword [edx+eax*4+24],ebx
	mov	byte [ebp-8],1
	jmp	_2534
_5069:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	push	eax
	push	_5075
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_5080
	push	eax
	call	_bbGCFree
	add	esp,4
_5080:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+12]
	mov	dword [edx+eax*4+24],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	edx,dword [ebp+12]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	ebx,0
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_5087
_179:
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	edx,dword [esi+8]
	mov	eax,dword [edi+ebx*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [edi+ebx*4+24]
	fld	dword [eax+12]
	fstp	dword [esi+12]
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_5094
	push	eax
	call	_bbGCFree
	add	esp,4
_5094:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [eax+ebx*4+24],esi
_177:
	add	ebx,1
_5087:
	cmp	ebx,dword [ebp-12]
	jle	_179
_178:
	mov	byte [ebp-8],1
	jmp	_2534
_2534:
	movzx	eax,byte [ebp-8]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorWeight:
	push	ebp
	mov	ebp,esp
	push	_180
	call	_brl_blitz_DebugLog
	add	esp,4
	fld	dword [_8392]
	jmp	_2537
_2537:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_setMorphTargetWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+16]
	mov	eax,dword [eax+12]
	fstp	dword [eax+edx*4+24]
	mov	eax,0
	jmp	_2542
_2542:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getMorphTargetWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	fld	dword [eax+edx*4+24]
	jmp	_2546
_2546:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getBaseWeight:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [_8404]
	fstp	dword [ebp-4]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+128]
	add	esp,4
	mov	edx,0
	sub	eax,1
	jmp	_5099
_183:
	mov	ecx,dword [ebx+12]
	fld	dword [ebp-4]
	fsub	dword [ecx+edx*4+24]
	fstp	dword [ebp-4]
_181:
	add	edx,1
_5099:
	cmp	edx,eax
	jle	_183
_182:
	fld	dword [ebp-4]
	jmp	_2549
_2549:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getMorphTargetWeightCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	jmp	_2552
_2552:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorMorphTargetWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2555
_2555:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalMesh
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+16],eax
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5107
	push	eax
	call	_bbGCFree
	add	esp,4
_5107:
	mov	dword [esi+8],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5111
	push	eax
	call	_bbGCFree
	add	esp,4
_5111:
	mov	dword [esi+12],ebx
	push	0
	push	_5112
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_5116
	push	eax
	call	_bbGCFree
	add	esp,4
_5116:
	mov	dword [esi+16],ebx
	mov	eax,0
	jmp	_2558
_2558:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2561:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5119
	push	eax
	call	_bbGCFree
	add	esp,4
_5119:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5121
	push	eax
	call	_bbGCFree
	add	esp,4
_5121:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5123
	push	eax
	call	_bbGCFree
	add	esp,4
_5123:
	mov	eax,0
	jmp	_5117
_5117:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_FromCore:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	_c3d_cal3d_CalMesh
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5128
	push	eax
	call	_bbGCFree
	add	esp,4
_5128:
	mov	dword [ebx+8],esi
	mov	eax,edi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5132
	push	eax
	call	_bbGCFree
	add	esp,4
_5132:
	mov	dword [ebx+12],esi
	push	0
	push	_5133
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5137
	push	eax
	call	_bbGCFree
	add	esp,4
_5137:
	mov	dword [ebx+16],esi
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	mov	edi,0
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_5142
_186:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+16]
	push	_1271
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5147
	push	eax
	call	_bbGCFree
	add	esp,4
_5147:
	mov	dword [ebx+16],esi
	mov	eax,dword [ebp-4]
	push	dword [eax+edi*4+24]
	call	dword [_c3d_cal3d_CalSubmesh+48]
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	mov	edx,dword [ebx+16]
	mov	edx,dword [edx+16]
	sub	edx,1
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_5151
	push	eax
	call	_bbGCFree
	add	esp,4
_5151:
	mov	eax,dword [ebx+16]
	mov	edx,dword [ebx+16]
	mov	edx,dword [edx+16]
	sub	edx,1
	mov	dword [eax+edx*4+24],esi
_184:
	add	edi,1
_5142:
	cmp	edi,dword [ebp-8]
	jle	_186
_185:
	mov	eax,ebx
	jmp	_2564
_2564:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_getCoreMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2567
_2567:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_getSubmesh:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5152
	mov	eax,dword [ecx+16]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_5152:
	cmp	eax,0
	je	_5154
	push	_187
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2571
_5154:
	mov	eax,dword [ecx+16]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2571
_2571:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_getSubmeshCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	jmp	_2574
_2574:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_getVectorSubmesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2577
_2577:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_setLodLevel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_5156
_190:
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
_188:
	add	ebx,1
_5156:
	cmp	ebx,edi
	jle	_190
_189:
	mov	eax,0
	jmp	_2581
_2581:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_setMaterialSet:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+16]
	mov	dword [ebp-4],eax
	jmp	_5160
_193:
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	dword [ebp+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,12
	mov	edx,dword [edi+16]
	mov	edx,dword [edx+esi*4+24]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+96]
	add	esp,8
_191:
	add	esi,1
_5160:
	cmp	esi,dword [ebp-4]
	jle	_193
_192:
	mov	eax,0
	jmp	_2585
_2585:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_setModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5172
	push	eax
	call	_bbGCFree
	add	esp,4
_5172:
	mov	dword [esi+8],ebx
	mov	eax,0
	jmp	_2589
_2589:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_disableInternalData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+16]
	mov	edi,dword [eax+16]
	jmp	_5174
_196:
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
_194:
	add	ebx,1
_5174:
	cmp	ebx,edi
	jle	_196
_195:
	mov	eax,0
	jmp	_2592
_2592:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalBone
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	fldz
	fstp	dword [esi+16]
	fldz
	fstp	dword [esi+20]
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+24],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+28],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+32],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+36],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+40],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+44],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+48],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+52],eax
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5190
	push	eax
	call	_bbGCFree
	add	esp,4
_5190:
	mov	dword [esi+8],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5194
	push	eax
	call	_bbGCFree
	add	esp,4
_5194:
	mov	dword [esi+12],ebx
	fldz
	fstp	dword [esi+16]
	fldz
	fstp	dword [esi+20]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_5198
	push	eax
	call	_bbGCFree
	add	esp,4
_5198:
	mov	dword [esi+24],ebx
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_5202
	push	eax
	call	_bbGCFree
	add	esp,4
_5202:
	mov	dword [esi+28],ebx
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_5206
	push	eax
	call	_bbGCFree
	add	esp,4
_5206:
	mov	dword [esi+32],ebx
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_5210
	push	eax
	call	_bbGCFree
	add	esp,4
_5210:
	mov	dword [esi+36],ebx
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_5214
	push	eax
	call	_bbGCFree
	add	esp,4
_5214:
	mov	dword [esi+40],ebx
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+44]
	dec	dword [eax+4]
	jnz	_5218
	push	eax
	call	_bbGCFree
	add	esp,4
_5218:
	mov	dword [esi+44],ebx
	push	_c3d_cal3d_CalMatrix
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+48]
	dec	dword [eax+4]
	jnz	_5222
	push	eax
	call	_bbGCFree
	add	esp,4
_5222:
	mov	dword [esi+48],ebx
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+52]
	dec	dword [eax+4]
	jnz	_5226
	push	eax
	call	_bbGCFree
	add	esp,4
_5226:
	mov	dword [esi+52],ebx
	mov	eax,0
	jmp	_2595
_2595:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2598:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_5229
	push	eax
	call	_bbGCFree
	add	esp,4
_5229:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_5231
	push	eax
	call	_bbGCFree
	add	esp,4
_5231:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_5233
	push	eax
	call	_bbGCFree
	add	esp,4
_5233:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_5235
	push	eax
	call	_bbGCFree
	add	esp,4
_5235:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_5237
	push	eax
	call	_bbGCFree
	add	esp,4
_5237:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_5239
	push	eax
	call	_bbGCFree
	add	esp,4
_5239:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_5241
	push	eax
	call	_bbGCFree
	add	esp,4
_5241:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_5243
	push	eax
	call	_bbGCFree
	add	esp,4
_5243:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5245
	push	eax
	call	_bbGCFree
	add	esp,4
_5245:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5247
	push	eax
	call	_bbGCFree
	add	esp,4
_5247:
	mov	eax,0
	jmp	_5227
_5227:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_FromCore:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalBone
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5252
	push	eax
	call	_bbGCFree
	add	esp,4
_5252:
	mov	dword [esi+8],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5256
	push	eax
	call	_bbGCFree
	add	esp,4
_5256:
	mov	dword [esi+12],ebx
	fldz
	fstp	dword [esi+16]
	fldz
	fstp	dword [esi+20]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_5260
	push	eax
	call	_bbGCFree
	add	esp,4
_5260:
	mov	dword [esi+24],ebx
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_5264
	push	eax
	call	_bbGCFree
	add	esp,4
_5264:
	mov	dword [esi+28],ebx
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_5268
	push	eax
	call	_bbGCFree
	add	esp,4
_5268:
	mov	dword [esi+32],ebx
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_5272
	push	eax
	call	_bbGCFree
	add	esp,4
_5272:
	mov	dword [esi+36],ebx
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_5276
	push	eax
	call	_bbGCFree
	add	esp,4
_5276:
	mov	dword [esi+40],ebx
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+44]
	dec	dword [eax+4]
	jnz	_5280
	push	eax
	call	_bbGCFree
	add	esp,4
_5280:
	mov	dword [esi+44],ebx
	push	_c3d_cal3d_CalMatrix
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+48]
	dec	dword [eax+4]
	jnz	_5284
	push	eax
	call	_bbGCFree
	add	esp,4
_5284:
	mov	dword [esi+48],ebx
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+52]
	dec	dword [eax+4]
	jnz	_5288
	push	eax
	call	_bbGCFree
	add	esp,4
_5288:
	mov	dword [esi+52],ebx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,4
	mov	eax,esi
	jmp	_2601
_2601:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_blendState:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	edx,dword [ebp+16]
	mov	ebx,dword [ebp+20]
	fld	dword [esi+20]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5290
	mov	eax,dword [esi+32]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [esi+36]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	fld	dword [ebp+12]
	fstp	dword [esi+20]
	jmp	_5293
_5290:
	fld	dword [ebp+12]
	fld	dword [esi+20]
	fadd	dword [ebp+12]
	fdivp	st1,st0
	fstp	dword [ebp-4]
	mov	eax,dword [esi+32]
	push	edx
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	mov	eax,dword [esi+36]
	push	ebx
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,12
	fld	dword [esi+20]
	fadd	dword [ebp+12]
	fstp	dword [esi+20]
_5293:
	mov	eax,0
	jmp	_2607
_2607:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_calculateState:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	fld	dword [edi+16]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5297
	mov	ebx,dword [edi+24]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,dword [edi+28]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
_5297:
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	cmp	eax,-1
	jne	_5304
	mov	eax,dword [edi+32]
	push	dword [edi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [edi+36]
	push	dword [edi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	jmp	_5307
_5304:
	mov	edx,dword [edi+12]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [edi+32]
	push	dword [edi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	esi,dword [edi+32]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,8
	mov	esi,dword [edi+32]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	mov	eax,dword [edi+36]
	push	dword [edi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	esi,dword [edi+36]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,8
_5307:
	mov	ebx,dword [edi+40]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [edi+40]
	push	dword [edi+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [edi+40]
	push	dword [edi+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
	mov	ebx,dword [edi+44]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	mov	eax,dword [edi+44]
	push	dword [edi+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	mov	eax,dword [edi+48]
	push	dword [edi+44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	esi,eax
	mov	ebx,0
	mov	eax,dword [esi+16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5329
_199:
	mov	eax,dword [edi+12]
	push	dword [esi+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_197:
	add	ebx,1
_5329:
	cmp	ebx,dword [ebp-4]
	jle	_199
_198:
	mov	eax,0
	jmp	_2610
_2610:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_clearState:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fldz
	fstp	dword [eax+16]
	fldz
	fstp	dword [eax+20]
	mov	eax,0
	jmp	_2613
_2613:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getCoreBone:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2616
_2616:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_setCoreState:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [esi+24]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,dword [esi+28]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	fld1
	fstp	dword [esi+20]
	fld1
	fstp	dword [esi+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
	jmp	_2619
_2619:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_setCoreStateRecursive:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [esi+24]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,dword [esi+28]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	fld1
	fstp	dword [esi+20]
	fld1
	fstp	dword [esi+16]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	edi,eax
	mov	ebx,0
	mov	eax,dword [edi+16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5345
_202:
	mov	eax,dword [esi+12]
	push	dword [edi+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
_200:
	add	ebx,1
_5345:
	cmp	ebx,dword [ebp-4]
	jle	_202
_201:
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
	jmp	_2622
_2622:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_SetRotation:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebx+28]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	fld1
	fstp	dword [ebx+20]
	fld1
	fstp	dword [ebx+16]
	mov	eax,0
	jmp	_2626
_2626:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_GetRotation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	jmp	_2629
_2629:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getRotationAbsolute:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_2632
_2632:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getRotationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+44]
	jmp	_2635
_2635:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_setTranslation:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebx+24]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	fld1
	fstp	dword [ebx+20]
	fld1
	fstp	dword [ebx+16]
	mov	eax,0
	jmp	_2639
_2639:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getTranslation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_2642
_2642:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getTranslationAbsolute:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_2645
_2645:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getTranslationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_2648
_2648:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getTransformMatrix:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	jmp	_2651
_2651:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_lockState:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebx+20]
	fld	dword [_8494]
	fsub	dword [ebx+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5352
	fld	dword [_8495]
	fsub	dword [ebx+16]
	fstp	dword [ebx+20]
_5352:
	fld	dword [ebx+20]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5353
	fld	dword [ebx+16]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5354
	mov	eax,dword [ebx+24]
	push	dword [ebx+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [ebx+28]
	push	dword [ebx+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	fld	dword [ebx+20]
	fstp	dword [ebx+16]
	jmp	_5357
_5354:
	fld	dword [ebx+20]
	fld	dword [ebx+16]
	fadd	dword [ebx+20]
	fdivp	st1,st0
	fstp	dword [ebp-4]
	mov	eax,dword [ebx+24]
	push	dword [ebx+32]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	mov	eax,dword [ebx+28]
	push	dword [ebx+36]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,12
	fld	dword [ebx+16]
	fadd	dword [ebx+20]
	fstp	dword [ebx+16]
_5357:
	fldz
	fstp	dword [ebx+20]
_5353:
	mov	eax,0
	jmp	_2654
_2654:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_setSkeleton:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5364
	push	eax
	call	_bbGCFree
	add	esp,4
_5364:
	mov	dword [esi+12],ebx
	mov	eax,0
	jmp	_2658
_2658:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_calculateBoundingBox:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	eax,eax
	cmp	eax,0
	jne	_5367
	mov	eax,0
	jmp	_2661
_5367:
	push	0
	push	0
	push	1065353216
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	ebx,eax
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	0
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+4+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	1065353216
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+8+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	-1082130432
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+12+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	1065353216
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	-1082130432
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	dword [ebp-4],0
	jmp	_5394
_205:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	esi
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	mov	ebx,esi
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	ebx,esi
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	mov	ebx,0
	jmp	_5402
_208:
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5404
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_5404:
_206:
	add	ebx,1
_5402:
	cmp	ebx,5
	jle	_208
_207:
_203:
	add	dword [ebp-4],1
_5394:
	cmp	dword [ebp-4],5
	jle	_205
_204:
	mov	eax,0
	jmp	_2661
_2661:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getBoundingBox:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	jmp	_2664
_2664:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalSkeleton
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	mov	byte [esi+16],0
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5411
	push	eax
	call	_bbGCFree
	add	esp,4
_5411:
	mov	dword [esi+8],ebx
	push	0
	push	_5412
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5416
	push	eax
	call	_bbGCFree
	add	esp,4
_5416:
	mov	dword [esi+12],ebx
	mov	byte [esi+16],0
	mov	eax,0
	jmp	_2667
_2667:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2670:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5419
	push	eax
	call	_bbGCFree
	add	esp,4
_5419:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5421
	push	eax
	call	_bbGCFree
	add	esp,4
_5421:
	mov	eax,0
	jmp	_5417
_5417:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_FromCore:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_CalSkeleton
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+8]
	dec	dword [eax+4]
	jnz	_5426
	push	eax
	call	_bbGCFree
	add	esp,4
_5426:
	mov	dword [edi+8],ebx
	push	0
	push	_5427
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_5431
	push	eax
	call	_bbGCFree
	add	esp,4
_5431:
	mov	dword [edi+12],ebx
	mov	byte [edi+16],0
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+16]
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_5436
_211:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	push	dword [eax+edx*4+24]
	call	dword [_c3d_cal3d_CalBone+48]
	add	esp,4
	mov	esi,eax
	mov	eax,esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,8
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	0
	push	dword [edi+12]
	push	_5440
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_5444
	push	eax
	call	_bbGCFree
	add	esp,4
_5444:
	mov	dword [edi+12],ebx
	mov	ebx,esi
	inc	dword [ebx+4]
	mov	edx,dword [edi+12]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_5448
	push	eax
	call	_bbGCFree
	add	esp,4
_5448:
	mov	edx,dword [edi+12]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
_209:
	add	dword [ebp-4],1
_5436:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_211
_210:
	mov	eax,edi
	jmp	_2673
_2673:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_calculateState:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	edi,eax
	mov	ebx,0
	mov	eax,dword [edi+16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5452
_214:
	mov	edx,dword [esi+12]
	mov	eax,dword [edi+ebx*4+24]
	mov	eax,dword [edx+eax*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_212:
	add	ebx,1
_5452:
	cmp	ebx,dword [ebp-4]
	jle	_214
_213:
	mov	byte [esi+16],0
	mov	eax,0
	jmp	_2676
_2676:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_clearState:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_5456
_217:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
_215:
	add	ebx,1
_5456:
	cmp	ebx,edi
	jle	_217
_216:
	mov	byte [esi+16],0
	mov	eax,0
	jmp	_2679
_2679:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_Create:
	push	ebp
	mov	ebp,esp
	push	_218
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_2683
_2683:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBone:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2687
_2687:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getCoreSkeleton:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2690
_2690:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getVectorBone:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2693
_2693:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBoneCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	jmp	_2696
_2696:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_lockState:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_5460
_221:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,4
_219:
	add	ebx,1
_5460:
	cmp	ebx,edi
	jle	_221
_220:
	mov	eax,0
	jmp	_2699
_2699:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBoneBoundingBox:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	cmp	esi,_bbNullObject
	jne	_5463
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
_5463:
	cmp	dword [ebp+16],_bbNullObject
	jne	_5464
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp+16],eax
_5464:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+16]
	mov	eax,eax
	cmp	eax,0
	jne	_5465
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_5465:
	mov	edi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	dword [eax+16],0
	jle	_5468
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+edi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	ebx,eax
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [ebp+16]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	add	edi,1
_5468:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5473
_224:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+edi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	ebx,eax
	fld	dword [ebx+8]
	mov	eax,dword [ebp+16]
	fld	dword [eax+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5476
	fld	dword [ebx+8]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+8]
	jmp	_5477
_5476:
	fld	dword [ebx+8]
	fld	dword [esi+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5478
	fld	dword [ebx+8]
	fstp	dword [esi+8]
_5478:
_5477:
	fld	dword [ebx+12]
	mov	eax,dword [ebp+16]
	fld	dword [eax+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5479
	fld	dword [ebx+12]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+12]
	jmp	_5480
_5479:
	fld	dword [ebx+12]
	fld	dword [esi+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5481
	fld	dword [ebx+12]
	fstp	dword [esi+12]
_5481:
_5480:
	fld	dword [ebx+16]
	mov	eax,dword [ebp+16]
	fld	dword [eax+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5482
	fld	dword [ebx+16]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+16]
	jmp	_5483
_5482:
	fld	dword [ebx+16]
	fld	dword [esi+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5484
	fld	dword [ebx+16]
	fstp	dword [esi+16]
_5484:
_5483:
_222:
	add	edi,1
_5473:
	cmp	edi,dword [ebp-4]
	jle	_224
_223:
	push	_c3d_cal3d_CalMinMax
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5489
	push	eax
	call	_bbGCFree
	add	esp,4
_5489:
	mov	dword [ebx+8],esi
	mov	esi,dword [ebp+16]
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5493
	push	eax
	call	_bbGCFree
	add	esp,4
_5493:
	mov	dword [ebx+12],esi
	jmp	_2704
_2704:
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_calculateBoundingBoxes:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	movzx	eax,byte [esi+16]
	mov	eax,eax
	cmp	eax,1
	jne	_5494
	mov	eax,0
	jmp	_2707
_5494:
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_5496
_227:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,4
_225:
	add	ebx,1
_5496:
	cmp	ebx,edi
	jle	_227
_226:
	mov	byte [esi+16],1
	mov	eax,0
	jmp	_2707
_2707:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBonePoints:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	mov	dword [ebp-8],eax
	mov	esi,0
	mov	ebx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5502
_230:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	fld	dword [eax+8]
	fstp	dword [edi+esi*4+24]
	mov	edx,esi
	add	edx,1
	fld	dword [eax+12]
	fstp	dword [edi+edx*4+24]
	mov	edx,esi
	add	edx,2
	fld	dword [eax+16]
	fstp	dword [edi+edx*4+24]
	add	esi,3
_228:
	add	ebx,1
_5502:
	cmp	ebx,dword [ebp-4]
	jle	_230
_229:
	mov	eax,dword [ebp-8]
	jmp	_2711
_2711:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBonePointsStatic:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	mov	dword [ebp-8],eax
	mov	esi,0
	mov	ebx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5509
_233:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	fld	dword [eax+8]
	fstp	dword [edi+esi*4+24]
	mov	edx,esi
	add	edx,1
	fld	dword [eax+12]
	fstp	dword [edi+edx*4+24]
	mov	edx,esi
	add	edx,2
	fld	dword [eax+16]
	fstp	dword [edi+edx*4+24]
	add	esi,3
_231:
	add	ebx,1
_5509:
	cmp	ebx,dword [ebp-4]
	jle	_233
_232:
	mov	eax,dword [ebp-8]
	jmp	_2715
_2715:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBoneLines:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	mov	edi,0
	mov	dword [ebp-8],0
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_5518
_236:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	cmp	eax,-1
	je	_5524
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+12]
	mov	ebx,dword [edx+eax*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	esi,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	fld	dword [eax+8]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+edi*4+24]
	mov	ecx,edi
	add	ecx,1
	fld	dword [eax+12]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+ecx*4+24]
	mov	edx,edi
	add	edx,2
	fld	dword [eax+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,3
	fld	dword [esi+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,4
	fld	dword [esi+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,5
	fld	dword [esi+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	add	edi,6
	add	dword [ebp-8],1
_5524:
_234:
	add	dword [ebp-4],1
_5518:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_236
_235:
	mov	eax,dword [ebp-8]
	jmp	_2719
_2719:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBoneLinesStatic:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	mov	edi,0
	mov	dword [ebp-8],0
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_5534
_239:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	cmp	eax,-1
	je	_5540
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+12]
	mov	ebx,dword [edx+eax*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	esi,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	fld	dword [eax+8]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+edi*4+24]
	mov	ecx,edi
	add	ecx,1
	fld	dword [eax+12]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+ecx*4+24]
	mov	edx,edi
	add	edx,2
	fld	dword [eax+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,3
	fld	dword [esi+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,4
	fld	dword [esi+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,5
	fld	dword [esi+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	add	edi,6
	add	dword [ebp-8],1
_5540:
_237:
	add	dword [ebp-4],1
_5534:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_239
_238:
	mov	eax,dword [ebp-8]
	jmp	_2723
_2723:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMinMax_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalMinMax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,0
	jmp	_2726
_2726:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMinMax_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2729:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5552
	push	eax
	call	_bbGCFree
	add	esp,4
_5552:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5554
	push	eax
	call	_bbGCFree
	add	esp,4
_5554:
	mov	eax,0
	jmp	_5550
_5550:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalModel
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+16],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+20],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+24],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+28],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+32],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+36],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+40],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+44],eax
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5568
	push	eax
	call	_bbGCFree
	add	esp,4
_5568:
	mov	dword [esi+8],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5572
	push	eax
	call	_bbGCFree
	add	esp,4
_5572:
	mov	dword [esi+12],ebx
	push	_c3d_cal3d_CalMixer
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_5576
	push	eax
	call	_bbGCFree
	add	esp,4
_5576:
	mov	dword [esi+16],ebx
	push	_c3d_cal3d_CalMorphTargetMixer
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_5580
	push	eax
	call	_bbGCFree
	add	esp,4
_5580:
	mov	dword [esi+20],ebx
	push	_c3d_cal3d_CalPhysique
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_5584
	push	eax
	call	_bbGCFree
	add	esp,4
_5584:
	mov	dword [esi+24],ebx
	push	_c3d_cal3d_CalSpringSystem
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_5588
	push	eax
	call	_bbGCFree
	add	esp,4
_5588:
	mov	dword [esi+28],ebx
	push	_c3d_cal3d_CalRenderer
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_5592
	push	eax
	call	_bbGCFree
	add	esp,4
_5592:
	mov	dword [esi+32],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_5596
	push	eax
	call	_bbGCFree
	add	esp,4
_5596:
	mov	dword [esi+36],ebx
	push	0
	push	_5597
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_5601
	push	eax
	call	_bbGCFree
	add	esp,4
_5601:
	mov	dword [esi+40],ebx
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+44]
	dec	dword [eax+4]
	jnz	_5605
	push	eax
	call	_bbGCFree
	add	esp,4
_5605:
	mov	dword [esi+44],ebx
	mov	eax,0
	jmp	_2732
_2732:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2735:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_5608
	push	eax
	call	_bbGCFree
	add	esp,4
_5608:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_5610
	push	eax
	call	_bbGCFree
	add	esp,4
_5610:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_5612
	push	eax
	call	_bbGCFree
	add	esp,4
_5612:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_5614
	push	eax
	call	_bbGCFree
	add	esp,4
_5614:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_5616
	push	eax
	call	_bbGCFree
	add	esp,4
_5616:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_5618
	push	eax
	call	_bbGCFree
	add	esp,4
_5618:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_5620
	push	eax
	call	_bbGCFree
	add	esp,4
_5620:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5622
	push	eax
	call	_bbGCFree
	add	esp,4
_5622:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5624
	push	eax
	call	_bbGCFree
	add	esp,4
_5624:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5626
	push	eax
	call	_bbGCFree
	add	esp,4
_5626:
	mov	eax,0
	jmp	_5606
_5606:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_FromCore:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_CalModel
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5631
	push	eax
	call	_bbGCFree
	add	esp,4
_5631:
	mov	dword [ebx+8],edi
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+192]
	add	esp,4
	push	eax
	call	dword [_c3d_cal3d_CalSkeleton+48]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5636
	push	eax
	call	_bbGCFree
	add	esp,4
_5636:
	mov	dword [ebx+12],esi
	push	ebx
	push	_c3d_cal3d_CalMixer
	call	_bbObjectNew
	add	esp,4
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5640
	push	eax
	call	_bbGCFree
	add	esp,4
_5640:
	mov	dword [ebx+16],esi
	push	ebx
	call	dword [_c3d_cal3d_CalMorphTargetMixer+48]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_5644
	push	eax
	call	_bbGCFree
	add	esp,4
_5644:
	mov	dword [ebx+20],esi
	push	ebx
	call	dword [_c3d_cal3d_CalPhysique+48]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_5648
	push	eax
	call	_bbGCFree
	add	esp,4
_5648:
	mov	dword [ebx+24],esi
	push	ebx
	call	dword [_c3d_cal3d_CalSpringSystem+48]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_5652
	push	eax
	call	_bbGCFree
	add	esp,4
_5652:
	mov	dword [ebx+28],esi
	push	ebx
	call	dword [_c3d_cal3d_CalRenderer+48]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_5656
	push	eax
	call	_bbGCFree
	add	esp,4
_5656:
	mov	dword [ebx+32],esi
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_5660
	push	eax
	call	_bbGCFree
	add	esp,4
_5660:
	mov	dword [ebx+36],esi
	push	0
	push	_5661
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_5665
	push	eax
	call	_bbGCFree
	add	esp,4
_5665:
	mov	dword [ebx+40],esi
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_5669
	push	eax
	call	_bbGCFree
	add	esp,4
_5669:
	mov	dword [ebx+44],esi
	mov	eax,ebx
	jmp	_2738
_2738:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_attachMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5671
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	cmp	ebx,eax
	setge	al
	movzx	eax,al
_5671:
	cmp	eax,0
	je	_5673
	push	_240
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2742
_5673:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,8
	mov	esi,eax
	mov	ebx,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_5677
_243:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	cmp	eax,esi
	jne	_5680
	mov	byte [ebp-4],1
	jmp	_2742
_5680:
_241:
	add	ebx,1
_5677:
	cmp	ebx,edi
	jle	_243
_242:
	push	esi
	call	dword [_c3d_cal3d_CalMesh+48]
	add	esp,4
	mov	esi,eax
	push	dword [ebp+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+76]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+40]
	push	_5683
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	dec	dword [eax+4]
	jnz	_5687
	push	eax
	call	_bbGCFree
	add	esp,4
_5687:
	mov	eax,dword [ebp+8]
	mov	dword [eax+40],ebx
	inc	dword [esi+4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+40]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_5691
	push	eax
	call	_bbGCFree
	add	esp,4
_5691:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+40]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [edx+eax*4+24],esi
	mov	byte [ebp-4],1
	jmp	_2742
_2742:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_detachMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5693
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	cmp	ebx,eax
	setge	al
	movzx	eax,al
_5693:
	cmp	eax,0
	je	_5695
	push	_244
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2746
_5695:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,8
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+16]
	sub	eax,1
	push	eax
	push	_5698
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	edi,0
	mov	esi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_5702
_247:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	cmp	eax,dword [ebp-16]
	je	_5706
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+esi*4+24]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+edi*4+24]
	dec	dword [eax+4]
	jnz	_5710
	push	eax
	call	_bbGCFree
	add	esp,4
_5710:
	mov	eax,dword [ebp-8]
	mov	dword [eax+edi*4+24],ebx
	add	edi,1
_5706:
_245:
	add	esi,1
_5702:
	cmp	esi,dword [ebp-12]
	jle	_247
_246:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	dec	dword [eax+4]
	jnz	_5714
	push	eax
	call	_bbGCFree
	add	esp,4
_5714:
	mov	eax,dword [ebp+8]
	mov	dword [eax+40],ebx
	mov	byte [ebp-4],1
	jmp	_2746
_2746:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getCoreModel:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2749
_2749:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5716
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,4
	cmp	ebx,eax
	setge	al
	movzx	eax,al
_5716:
	cmp	eax,0
	je	_5718
	push	_121
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2753
_5718:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,8
	mov	esi,eax
	mov	ebx,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_5722
_250:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	cmp	eax,esi
	jne	_5725
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+ebx*4+24]
	jmp	_2753
_5725:
_248:
	add	ebx,1
_5722:
	cmp	ebx,edi
	jle	_250
_249:
	mov	eax,_bbNullObject
	jmp	_2753
_2753:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getMixer:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	cmp	dword [ebx+16],_bbNullObject
	jne	_5726
	mov	eax,_bbNullObject
	jmp	_2756
_5726:
	mov	eax,dword [ebx+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	mov	eax,eax
	cmp	eax,0
	jne	_5728
	push	_251
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2756
_5728:
	mov	eax,dword [ebx+16]
	jmp	_2756
_2756:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getAbstractMixer:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2759
_2759:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_setAbstractMixer:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	_c3d_cal3d_CalMixer
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5732
	push	eax
	call	_bbGCFree
	add	esp,4
_5732:
	mov	dword [ebx+16],esi
	mov	eax,0
	jmp	_2763
_2763:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getMorphTargetMixer:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_2766
_2766:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getPhysique:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_2769
_2769:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getRenderer:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_2772
_2772:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getSkeleton:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2775
_2775:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getSpringSystem:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	jmp	_2778
_2778:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getBoundingBox:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	movzx	eax,byte [ebp+12]
	mov	eax,eax
	mov	byte [ebp-4],al
	push	0
	push	0
	push	1065353216
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	ebx,eax
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	0
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+4+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	1065353216
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+8+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	-1082130432
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+12+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	1065353216
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	-1082130432
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,1
	jne	_5745
	mov	eax,dword [edi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_5745:
	mov	eax,dword [edi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-20],eax
	push	6
	push	_5749
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	esi,0
	jmp	_5752
_254:
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_5756
	push	eax
	call	_bbGCFree
	add	esp,4
_5756:
	mov	eax,dword [ebp-8]
	mov	dword [eax+esi*4+24],ebx
_252:
	add	esi,1
_5752:
	cmp	esi,5
	jle	_254
_253:
	mov	dword [ebp-12],0
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_5758
_257:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+edx*4+24]
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_5763
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	eax,eax
	cmp	eax,0
	sete	al
	movzx	eax,al
_5763:
	cmp	eax,0
	je	_5765
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,4
	mov	esi,eax
	mov	ebx,0
	jmp	_5769
_260:
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5771
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_5771:
_258:
	add	ebx,1
_5769:
	cmp	ebx,5
	jle	_260
_259:
	jmp	_5773
_5765:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+124]
	add	esp,4
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
	mov	esi,0
	jmp	_5777
_263:
	mov	ebx,0
	jmp	_5778
_266:
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+esi*4+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5780
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+esi*4+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,8
_5780:
_264:
	add	ebx,1
_5778:
	cmp	ebx,5
	jle	_266
_265:
_261:
	add	esi,1
_5777:
	cmp	esi,7
	jle	_263
_262:
_5773:
_255:
	add	dword [ebp-12],1
_5758:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-12],eax
	jle	_257
_256:
	mov	eax,dword [edi+44]
	jmp	_2782
_2782:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getUserData:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_2785
_2785:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getVectorMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_2788
_2788:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_setLodLevel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_5783
_269:
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_267:
	add	ebx,1
_5783:
	cmp	ebx,edi
	jle	_269
_268:
	mov	eax,0
	jmp	_2792
_2792:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_setMaterialSet:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_5787
_272:
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
_270:
	add	ebx,1
_5787:
	cmp	ebx,edi
	jle	_272
_271:
	mov	eax,0
	jmp	_2796
_2796:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_setUserData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_5793
	push	eax
	call	_bbGCFree
	add	esp,4
_5793:
	mov	dword [esi+36],ebx
	mov	eax,0
	jmp	_2800
_2800:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_update:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+16]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [ebx+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,dword [ebx+20]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	eax,dword [ebx+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	eax,dword [ebx+28]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	mov	eax,0
	jmp	_2804
_2804:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_disableInternalData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	edi,eax
	jmp	_5800
_275:
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
_273:
	add	ebx,1
_5800:
	cmp	ebx,edi
	jle	_275
_274:
	mov	eax,0
	jmp	_2807
_2807:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalAnimation
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	mov	dword [esi+16],0
	mov	dword [esi+20],0
	fldz
	fstp	dword [esi+24]
	fldz
	fstp	dword [esi+28]
	fldz
	fstp	dword [esi+32]
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5808
	push	eax
	call	_bbGCFree
	add	esp,4
_5808:
	mov	dword [esi+8],ebx
	push	0
	push	_5809
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5813
	push	eax
	call	_bbGCFree
	add	esp,4
_5813:
	mov	dword [esi+12],ebx
	mov	dword [esi+16],0
	mov	dword [esi+20],0
	fldz
	fstp	dword [esi+24]
	fldz
	fstp	dword [esi+28]
	fldz
	fstp	dword [esi+32]
	mov	eax,0
	jmp	_2810
_2810:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2813:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5816
	push	eax
	call	_bbGCFree
	add	esp,4
_5816:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5818
	push	eax
	call	_bbGCFree
	add	esp,4
_5818:
	mov	eax,0
	jmp	_5814
_5814:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_FromCore:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	_c3d_cal3d_CalAnimation
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	eax,edi
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5823
	push	eax
	call	_bbGCFree
	add	esp,4
_5823:
	mov	dword [esi+8],ebx
	push	0
	push	_5824
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5828
	push	eax
	call	_bbGCFree
	add	esp,4
_5828:
	mov	dword [esi+12],ebx
	mov	dword [esi+16],0
	mov	dword [esi+20],0
	fldz
	fstp	dword [esi+24]
	fld1
	fstp	dword [esi+28]
	fldz
	fstp	dword [esi+32]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	edi,0
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5832
_278:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+12]
	push	_481
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5837
	push	eax
	call	_bbGCFree
	add	esp,4
_5837:
	mov	dword [esi+12],ebx
	mov	edx,dword [esi+12]
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	fldz
	fstp	dword [edx+eax*4+24]
_276:
	add	edi,1
_5832:
	cmp	edi,dword [ebp-4]
	jle	_278
_277:
	mov	eax,esi
	jmp	_2816
_2816:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getCoreAnimation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2819
_2819:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getState:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_2822
_2822:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	jmp	_2825
_2825:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getType:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2828
_2828:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	jmp	_2831
_2831:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_setTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+24]
	mov	eax,0
	jmp	_2835
_2835:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_setTimeFactor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+28]
	mov	eax,0
	jmp	_2839
_2839:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getTimeFactor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	jmp	_2842
_2842:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_checkCallbacks:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	edi,0
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_5841
_281:
	mov	eax,dword [ebx+12]
	cmp	dword [eax+16],edi
	jg	_5843
	mov	eax,dword [ebx+12]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+12]
	push	_481
	call	_bbArraySlice
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5847
	push	eax
	call	_bbGCFree
	add	esp,4
_5847:
	mov	dword [ebx+12],esi
	mov	edx,dword [ebx+12]
	mov	eax,dword [ebx+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	fld	dword [ebp+12]
	fstp	dword [edx+eax*4+24]
_5843:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	mov	esi,dword [eax+8]
	mov	eax,dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,16
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_5850
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_5850:
	cmp	eax,0
	je	_5852
	mov	edx,dword [ebx+8]
	mov	esi,dword [ebx+12]
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	fstp	dword [ebp-4]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fstp	dword [esi+edi*4+24]
	jmp	_5854
_5852:
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_5855
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_5855:
	cmp	eax,0
	je	_5857
	mov	edx,dword [ebx+8]
	mov	esi,dword [ebx+12]
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	fstp	dword [ebp-8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [esi+edi*4+24]
_5857:
_5854:
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_5859
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	fadd	dword [eax+12]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_5859:
	cmp	eax,0
	jne	_5863
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_5861
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	fsub	dword [eax+12]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_5861:
_5863:
	cmp	eax,0
	je	_5865
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	mov	esi,dword [eax+8]
	mov	eax,dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,16
	mov	eax,dword [ebx+12]
	fld	dword [ebp+12]
	fstp	dword [eax+edi*4+24]
_5865:
_279:
	add	edi,1
_5841:
	cmp	edi,dword [ebp-16]
	jle	_281
_280:
	mov	eax,0
	jmp	_2847
_2847:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_completeCallbacks:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	esi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_5871
_284:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+esi*4+24]
	mov	ebx,dword [eax+8]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	edi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,12
_282:
	add	esi,1
_5871:
	cmp	esi,dword [ebp-8]
	jle	_284
_283:
	mov	eax,0
	jmp	_2851
_2851:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_setType:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+16],eax
	mov	eax,0
	jmp	_2855
_2855:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_setState:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+20],eax
	mov	eax,0
	jmp	_2859
_2859:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_setWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+32]
	mov	eax,0
	jmp	_2863
_2863:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCallback_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__c3d_cal3d_CalCallbackRecord_New
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAnimationCallback
	mov	eax,0
	jmp	_2866
_2866:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCallback_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_2869:
	mov	dword [eax],_c3d_cal3d_CalCallbackRecord
	push	eax
	call	__c3d_cal3d_CalCallbackRecord_Delete
	add	esp,4
	mov	eax,0
	jmp	_5875
_5875:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCallback_AnimationUpdate:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_2875
_2875:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCallback_AnimationComplete:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_2880
_2880:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationAction_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	__c3d_cal3d_CalAnimation_New
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalAnimationAction
	fldz
	fstp	dword [esi+36]
	fldz
	fstp	dword [esi+40]
	fldz
	fstp	dword [esi+44]
	fldz
	fstp	dword [esi+48]
	mov	byte [esi+52],0
	fldz
	fstp	dword [esi+36]
	fldz
	fstp	dword [esi+40]
	fldz
	fstp	dword [esi+44]
	fldz
	fstp	dword [esi+48]
	mov	byte [esi+52],0
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5879
	push	eax
	call	_bbGCFree
	add	esp,4
_5879:
	mov	dword [esi+8],ebx
	push	0
	push	_5880
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5884
	push	eax
	call	_bbGCFree
	add	esp,4
_5884:
	mov	dword [esi+12],ebx
	mov	dword [esi+16],0
	mov	dword [esi+20],0
	fldz
	fstp	dword [esi+24]
	fldz
	fstp	dword [esi+28]
	fldz
	fstp	dword [esi+32]
	mov	eax,0
	jmp	_2883
_2883:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationAction_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_2886:
	mov	dword [eax],_c3d_cal3d_CalAnimation
	push	eax
	call	__c3d_cal3d_CalAnimation_Delete
	add	esp,4
	mov	eax,0
	jmp	_5885
_5885:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationAction_BuildFromCore:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	push	_c3d_cal3d_CalAnimationAction
	push	eax
	call	dword [_c3d_cal3d_CalAnimationAction+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	fldz
	fstp	dword [ebx+44]
	fldz
	fstp	dword [ebx+48]
	mov	byte [ebx+52],0
	push	3
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,8
	mov	eax,ebx
	jmp	_2889
_2889:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationAction_execute:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	ebx,dword [ebp+8]
	movzx	eax,byte [ebp+24]
	mov	eax,eax
	mov	byte [ebp-4],al
	push	3
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+96]
	add	esp,8
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	fld	dword [ebp+12]
	fstp	dword [ebx+36]
	fld	dword [ebp+16]
	fstp	dword [ebx+40]
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
	fld	dword [ebp+20]
	fstp	dword [ebx+48]
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	byte [ebx+52],al
	mov	byte [ebp-8],1
	jmp	_2896
_2896:
	movzx	eax,byte [ebp-8]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationAction_update:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,6
	je	_5892
	mov	eax,ebx
	mov	esi,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-16]
	fld	dword [ebp+12]
	fstp	dword [ebp-12]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,4
	fld	dword [ebp-12]
	fmulp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-16]
	fadd	dword [ebp-12]
	fstp	dword [ebp-16]
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
_5892:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,3
	jne	_5897
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	fld	dword [ebx+36]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5899
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	fdiv	dword [ebx+36]
	fmul	dword [ebx+48]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	jmp	_5902
_5899:
	mov	eax,ebx
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	mov	eax,ebx
	push	dword [ebx+48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
_5902:
_5897:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,4
	jne	_5906
	movzx	eax,byte [ebx+52]
	mov	eax,eax
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5910
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-20]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	fsub	dword [ebx+40]
	fld	dword [ebp-20]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_5910:
	cmp	eax,0
	je	_5912
	mov	eax,ebx
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	jmp	_5914
_5912:
	movzx	eax,byte [ebx+52]
	mov	eax,eax
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5918
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-24]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-24]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_5918:
	cmp	eax,0
	je	_5920
	mov	eax,ebx
	push	6
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
_5920:
_5914:
_5906:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,5
	jne	_5926
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-28]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-28]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5930
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	fstp	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,4
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fdiv	dword [ebx+40]
	fmul	dword [ebx+48]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	jmp	_5935
_5930:
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	mov	byte [ebp-4],0
	jmp	_2900
_5935:
_5926:
	mov	byte [ebp-4],1
	jmp	_2900
_2900:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	__c3d_cal3d_CalAnimation_New
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalAnimationCycle
	fldz
	fstp	dword [esi+36]
	fldz
	fstp	dword [esi+40]
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5940
	push	eax
	call	_bbGCFree
	add	esp,4
_5940:
	mov	dword [esi+8],ebx
	push	0
	push	_5941
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_5945
	push	eax
	call	_bbGCFree
	add	esp,4
_5945:
	mov	dword [esi+12],ebx
	mov	dword [esi+16],0
	mov	dword [esi+20],0
	fldz
	fstp	dword [esi+24]
	fldz
	fstp	dword [esi+28]
	fldz
	fstp	dword [esi+32]
	mov	eax,0
	jmp	_2903
_2903:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_2906:
	mov	dword [eax],_c3d_cal3d_CalAnimation
	push	eax
	call	__c3d_cal3d_CalAnimation_Delete
	add	esp,4
	mov	eax,0
	jmp	_5946
_5946:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_BuildFromCore:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	push	_c3d_cal3d_CalAnimationCycle
	push	eax
	call	dword [_c3d_cal3d_CalAnimationCycle+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,8
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+96]
	add	esp,8
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	mov	eax,ebx
	jmp	_2909
_2909:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_blend:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st1
	fstp	dword [eax+40]
	fstp	dword [eax+36]
	mov	byte [ebp-4],0
	jmp	_2914
_2914:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_setAsync:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,2
	je	_5952
	fldz
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5953
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,8
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
	jmp	_5956
_5953:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	fdiv	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,8
	mov	eax,ebx
	fld	dword [ebp+12]
	fstp	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	fld	dword [ebp-4]
	fmulp	st1,st0
	fstp	dword [ebp-4]
	push	dword [ebp-4]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
_5956:
	push	2
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+96]
	add	esp,8
_5952:
	mov	eax,0
	jmp	_2919
_2919:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_update:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	fld	dword [ebx+36]
	fstp	dword [ebp-28]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-28]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_5963
	push	dword [ebx+40]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	fldz
	fstp	dword [ebx+36]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5966
	mov	byte [ebp-4],0
	jmp	_2923
_5966:
	jmp	_5967
_5963:
	fld	dword [ebp+12]
	fdiv	dword [ebx+36]
	fstp	dword [ebp-24]
	mov	eax,ebx
	fld	dword [_8744]
	fsub	dword [ebp-24]
	fstp	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp-12]
	fmulp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fld	dword [ebp-24]
	fmul	dword [ebx+40]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	fld	dword [ebx+36]
	fsub	dword [ebp+12]
	fstp	dword [ebx+36]
_5967:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,2
	jne	_5972
	mov	eax,ebx
	mov	esi,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-20]
	fld	dword [ebp+12]
	fstp	dword [ebp-16]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,4
	fld	dword [ebp-16]
	fmulp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-20]
	fadd	dword [ebp-16]
	fstp	dword [ebp-20]
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-32]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-32]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_5979
	mov	esi,ebx
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	call	_c3d_cal3d_Modf
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
_5979:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5985
	mov	esi,ebx
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	edi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-8]
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	push	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
_5985:
_5972:
	mov	byte [ebp-4],1
	jmp	_2923
_2923:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationType_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAnimationType
	mov	eax,0
	jmp	_2926
_2926:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationType_Delete:
	push	ebp
	mov	ebp,esp
_2929:
	mov	eax,0
	jmp	_5990
_5990:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationState_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAnimationState
	mov	eax,0
	jmp	_2932
_2932:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationState_Delete:
	push	ebp
	mov	ebp,esp
_2935:
	mov	eax,0
	jmp	_5991
_5991:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_Modf:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	st1
	fstp	qword [ebp-16]
	fld	st0
	fstp	qword [ebp-8]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	fld	qword [ebp-8]
	fmulp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-16]
	fsub	qword [ebp-8]
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	jmp	_2939
_2939:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAbstractMixer_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAbstractMixer
	mov	eax,0
	jmp	_2942
_2942:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAbstractMixer_Delete:
	push	ebp
	mov	ebp,esp
_2945:
	mov	eax,0
	jmp	_5993
_5993:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAbstractMixer_isDefaultMixer:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	byte [ebp-4],0
	jmp	_2948
_2948:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAbstractMixer_updateAnimation:
	push	ebp
	mov	ebp,esp
	push	_285
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_2952
_2952:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAbstractMixer_updateSkeleton:
	push	ebp
	mov	ebp,esp
	push	_285
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_2955
_2955:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__c3d_cal3d_CalAbstractMixer_New
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalMixer
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+20],eax
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	mov	eax,0
	jmp	_2958
_2958:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_2961:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_6000
	push	eax
	call	_bbGCFree
	add	esp,4
_6000:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_6002
	push	eax
	call	_bbGCFree
	add	esp,4
_6002:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_6004
	push	eax
	call	_bbGCFree
	add	esp,4
_6004:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_6006
	push	eax
	call	_bbGCFree
	add	esp,4
_6006:
	mov	dword [ebx],_c3d_cal3d_CalAbstractMixer
	push	ebx
	call	__c3d_cal3d_CalAbstractMixer_Delete
	add	esp,4
	mov	eax,0
	jmp	_5998
_5998:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_FromModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_CalMixer
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_6011
	push	eax
	call	_bbGCFree
	add	esp,4
_6011:
	mov	dword [ebx+8],edi
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	push	eax
	push	_6012
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_6018
	push	eax
	call	_bbGCFree
	add	esp,4
_6018:
	mov	dword [ebx+12],esi
	push	0
	push	_6019
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_6023
	push	eax
	call	_bbGCFree
	add	esp,4
_6023:
	mov	dword [ebx+16],esi
	push	0
	push	_6024
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_6028
	push	eax
	call	_bbGCFree
	add	esp,4
_6028:
	mov	dword [ebx+20],esi
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fld1
	fstp	dword [ebx+32]
	mov	eax,ebx
	jmp	_2964
_2964:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_isDefaultMixer:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	byte [ebp-4],1
	jmp	_2967
_2967:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_blendCycle:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	cmp	esi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6029
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	esi,dword [eax+16]
	setge	al
	movzx	eax,al
_6029:
	cmp	eax,0
	je	_6031
	push	_114
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2973
_6031:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	edi,dword [eax+esi*4+24]
	cmp	edi,_bbNullObject
	jne	_6033
	fldz
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6034
	mov	byte [ebp-4],1
	jmp	_2973
_6034:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_6038
	mov	byte [ebp-4],0
	jmp	_2973
_6038:
	push	ebx
	call	_c3d_cal3d_addExtraKeyframeForLoopedAnim
	add	esp,4
	push	ebx
	call	dword [_c3d_cal3d_CalAnimationCycle+104]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_6043
	push	eax
	call	_bbGCFree
	add	esp,4
_6043:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [eax+esi*4+24],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	_6044
	call	_bbArrayNew1D
	add	esp,8
	mov	edi,eax
	mov	esi,1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+16]
	mov	dword [ebp-8],eax
	jmp	_6047
_288:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,esi
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+esi*4+24]
	dec	dword [eax+4]
	jnz	_6052
	push	eax
	call	_bbGCFree
	add	esp,4
_6052:
	mov	dword [edi+esi*4+24],ebx
_286:
	add	esi,1
_6047:
	cmp	esi,dword [ebp-8]
	jle	_288
_287:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_6056
	push	eax
	call	_bbGCFree
	add	esp,4
_6056:
	mov	dword [edi+24],ebx
	mov	ebx,edi
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	dec	dword [eax+4]
	jnz	_6060
	push	eax
	call	_bbGCFree
	add	esp,4
_6060:
	mov	eax,dword [ebp+8]
	mov	dword [eax+20],ebx
	mov	eax,dword [ebp-12]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,12
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2973
_6033:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	cmp	eax,1
	je	_6063
	push	_289
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2973
_6063:
	fldz
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6064
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+esi*4+24]
	dec	dword [eax+4]
	jnz	_6068
	push	eax
	call	_bbGCFree
	add	esp,4
_6068:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [eax+esi*4+24],ebx
_6064:
	push	_c3d_cal3d_CalAnimationCycle
	push	edi
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,12
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	0
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+84]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2973
_2973:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_clearCycle:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6071
	mov	edx,dword [esi+12]
	mov	eax,dword [ebp+12]
	cmp	eax,dword [edx+16]
	setge	al
	movzx	eax,al
_6071:
	cmp	eax,0
	je	_6073
	push	_114
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2978
_6073:
	mov	edx,dword [esi+12]
	mov	eax,dword [ebp+12]
	mov	edi,dword [edx+eax*4+24]
	cmp	edi,_bbNullObject
	jne	_6075
	mov	byte [ebp-4],1
	jmp	_2978
_6075:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	cmp	eax,1
	je	_6077
	push	_290
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2978
_6077:
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	ebx,eax
	mov	edx,dword [esi+12]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_6081
	push	eax
	call	_bbGCFree
	add	esp,4
_6081:
	mov	edx,dword [esi+12]
	mov	eax,dword [ebp+12]
	mov	dword [edx+eax*4+24],ebx
	push	_c3d_cal3d_CalAnimationCycle
	push	edi
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	push	dword [esi+28]
	push	dword [esi+24]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+112]
	add	esp,12
	push	dword [ebp+16]
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+108]
	add	esp,12
	push	dword [esi+8]
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2978
_2978:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_executeAction:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	movzx	eax,byte [ebp+28]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_6089
	mov	byte [ebp-8],0
	jmp	_2986
_6089:
	push	eax
	call	dword [_c3d_cal3d_CalAnimationAction+104]
	add	esp,4
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	add	eax,1
	push	eax
	push	_6091
	call	_bbArrayNew1D
	add	esp,8
	mov	edi,eax
	mov	esi,1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	mov	dword [ebp-12],eax
	jmp	_6094
_293:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,esi
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+esi*4+24]
	dec	dword [eax+4]
	jnz	_6099
	push	eax
	call	_bbGCFree
	add	esp,4
_6099:
	mov	dword [edi+esi*4+24],ebx
_291:
	add	esi,1
_6094:
	cmp	esi,dword [ebp-12]
	jle	_293
_292:
	mov	ebx,dword [ebp-16]
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_6103
	push	eax
	call	_bbGCFree
	add	esp,4
_6103:
	mov	dword [edi+24],ebx
	mov	ebx,edi
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_6107
	push	eax
	call	_bbGCFree
	add	esp,4
_6107:
	mov	eax,dword [ebp+8]
	mov	dword [eax+16],ebx
	mov	edx,dword [ebp-16]
	movzx	eax,byte [ebp-4]
	push	eax
	push	dword [ebp+24]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+108]
	add	esp,20
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	0
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+84]
	add	esp,12
	mov	byte [ebp-8],1
	jmp	_2986
_2986:
	movzx	eax,byte [ebp-8]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_removeAction:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_6113
	mov	byte [ebp-4],0
	jmp	_2990
_6113:
	mov	dword [ebp-8],0
	jmp	_294
_296:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-8]
	mov	eax,dword [edx+eax*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	cmp	eax,ebx
	jne	_6116
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-8]
	mov	edx,dword [edx+eax*4+24]
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+88]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	sub	eax,1
	push	eax
	push	_6118
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	mov	edi,0
	mov	esi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_6122
_299:
	cmp	esi,dword [ebp-8]
	je	_6124
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+esi*4+24]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	dec	dword [eax+4]
	jnz	_6128
	push	eax
	call	_bbGCFree
	add	esp,4
_6128:
	mov	eax,dword [ebp-12]
	mov	dword [eax+edi*4+24],ebx
	add	edi,1
_6124:
_297:
	add	esi,1
_6122:
	cmp	esi,dword [ebp-16]
	jle	_299
_298:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_6132
	push	eax
	call	_bbGCFree
	add	esp,4
_6132:
	mov	eax,dword [ebp+8]
	mov	dword [eax+16],ebx
	mov	byte [ebp-4],1
	jmp	_2990
_6116:
	add	dword [ebp-8],1
_294:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	cmp	dword [ebp-8],eax
	jl	_296
_295:
	mov	byte [ebp-4],0
	jmp	_2990
_2990:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_updateAnimation:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6133
	fldz
	mov	eax,dword [ebp+8]
	fstp	dword [eax+24]
	jmp	_6134
_6133:
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	fld	dword [ebp+12]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+32]
	faddp	st1,st0
	mov	eax,dword [ebp+8]
	fstp	dword [eax+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_6135
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_6135:
	cmp	eax,0
	je	_6137
	mov	eax,dword [ebp+8]
	push	dword [eax+28]
	mov	eax,dword [ebp+8]
	push	dword [eax+24]
	call	_c3d_cal3d_Modf
	add	esp,8
	mov	eax,dword [ebp+8]
	fstp	dword [eax+24]
_6137:
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_6138
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	mov	eax,dword [ebp+8]
	fadd	dword [eax+28]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+24]
_6138:
_6134:
	mov	dword [ebp-24],0
	jmp	_300
_302:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-24]
	mov	ebx,dword [edx+eax*4+24]
	push	dword [ebp+12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+112]
	add	esp,8
	cmp	eax,0
	je	_6142
	mov	eax,ebx
	mov	edx,dword [ebp+8]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,12
	add	dword [ebp-24],1
	jmp	_6145
_6142:
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	sub	eax,1
	push	eax
	push	_6147
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	mov	edi,0
	mov	ebx,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_6151
_305:
	cmp	ebx,dword [ebp-24]
	je	_6153
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+ebx*4+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	dec	dword [eax+4]
	jnz	_6157
	push	eax
	call	_bbGCFree
	add	esp,4
_6157:
	mov	eax,dword [ebp-12]
	mov	dword [eax+edi*4+24],esi
	add	edi,1
_6153:
_303:
	add	ebx,1
_6151:
	cmp	ebx,dword [ebp-16]
	jle	_305
_304:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_6161
	push	eax
	call	_bbGCFree
	add	esp,4
_6161:
	mov	eax,dword [ebp+8]
	mov	dword [eax+16],ebx
_6145:
_300:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	cmp	dword [ebp-24],eax
	jl	_302
_301:
	fld	dword [_8816]
	fstp	dword [ebp-32]
	fld	dword [_8817]
	fstp	dword [ebp-36]
	mov	dword [ebp-28],0
	jmp	_306
_308:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp-28]
	mov	ebx,dword [edx+eax*4+24]
	push	dword [ebp+12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_6167
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,1
	jne	_6169
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp-32]
	faddp	st1,st0
	fstp	dword [ebp-32]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	fstp	dword [ebp-4]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-4]
	fmulp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-36]
	fadd	dword [ebp-4]
	fstp	dword [ebp-36]
_6169:
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	mov	eax,dword [ebp+8]
	push	dword [eax+24]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,12
	add	dword [ebp-28],1
	jmp	_6175
_6167:
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+16]
	sub	eax,1
	push	eax
	push	_6177
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	edi,0
	mov	ebx,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-20],eax
	jmp	_6179
_311:
	cmp	ebx,dword [ebp-28]
	je	_6181
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+ebx*4+24]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+edi*4+24]
	dec	dword [eax+4]
	jnz	_6185
	push	eax
	call	_bbGCFree
	add	esp,4
_6185:
	mov	eax,dword [ebp-8]
	mov	dword [eax+edi*4+24],esi
	add	edi,1
_6181:
_309:
	add	ebx,1
_6179:
	cmp	ebx,dword [ebp-20]
	jle	_311
_310:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	dec	dword [eax+4]
	jnz	_6189
	push	eax
	call	_bbGCFree
	add	esp,4
_6189:
	mov	eax,dword [ebp+8]
	mov	dword [eax+20],ebx
_6175:
_306:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+16]
	cmp	dword [ebp-28],eax
	jl	_308
_307:
	fldz
	fld	dword [ebp-32]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_6190
	fld	dword [ebp-36]
	fdiv	dword [ebp-32]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+28]
	jmp	_6191
_6190:
	fldz
	mov	eax,dword [ebp+8]
	fstp	dword [eax+28]
_6191:
	mov	eax,0
	jmp	_2994
_2994:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_updateSkeleton:
	push	ebp
	mov	ebp,esp
	sub	esp,60
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp-60],eax
	cmp	dword [ebp-60],_bbNullObject
	jne	_6194
	mov	eax,0
	jmp	_2997
_6194:
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-40],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-36],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-32],eax
	mov	dword [ebp-44],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-52],eax
	jmp	_6201
_314:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-44]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	edi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_6209
_317:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	edx,dword [ebp-40]
	mov	esi,dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	ebx,dword [eax+edi*4+24]
	mov	eax,dword [ebp-12]
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,16
	mov	ebx,esi
	mov	eax,dword [ebp-12]
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,16
_315:
	add	edi,1
_6209:
	cmp	edi,dword [ebp-24]
	jle	_317
_316:
_312:
	add	dword [ebp-44],1
_6201:
	mov	eax,dword [ebp-52]
	cmp	dword [ebp-44],eax
	jle	_314
_313:
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-48],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-56],eax
	jmp	_6219
_320:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp-48]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,1
	jne	_6225
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6226
	fld	dword [_8832]
	fstp	dword [ebp-20]
	jmp	_6227
_6226:
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	fstp	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-8]
	fmulp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+28]
	fstp	dword [ebp-20]
_6227:
	jmp	_6229
_6225:
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-20]
_6229:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	edi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_6232
_323:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	edx,dword [ebp-40]
	mov	esi,dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edi*4+24]
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	dword [ebp-20]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,16
	mov	ebx,esi
	mov	eax,dword [ebp-28]
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,16
_321:
	add	edi,1
_6232:
	cmp	edi,dword [ebp-16]
	jle	_323
_322:
_318:
	add	dword [ebp-48],1
_6219:
	mov	eax,dword [ebp-56]
	cmp	dword [ebp-48],eax
	jle	_320
_319:
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	eax,0
	jmp	_2997
_2997:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getAnimationTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	jmp	_3000
_3000:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getAnimationDuration:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	jmp	_3003
_3003:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_setAnimationTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+24]
	mov	eax,0
	jmp	_3007
_3007:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_setTimeFactor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+32]
	mov	eax,0
	jmp	_3011
_3011:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getTimeFactor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	jmp	_3014
_3014:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getCalModel:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_3017
_3017:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getAnimationVector:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_3020
_3020:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getAnimationActionList:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_3023
_3023:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getAnimationCycle:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_3026
_3026:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_addExtraKeyframeForLoopedAnim:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp-16]
	cmp	dword [eax+16],0
	jne	_6242
	mov	eax,0
	jmp	_3029
_6242:
	mov	dword [ebp-4],0
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-16]
	cmp	dword [eax+edx*4+24],_bbNullObject
	jne	_6244
	mov	eax,0
	jmp	_3029
_6244:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-16]
	mov	ebx,dword [eax+edx*4+24]
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	sub	eax,1
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_6248
	mov	eax,0
	jmp	_3029
_6248:
	mov	ebx,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fstp	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_6251
	mov	dword [ebp-4],0
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_6252
_326:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-16]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,edi
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	ebx,eax
	push	_c3d_cal3d_CalCoreKeyframe
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+76]
	add	esp,8
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
	mov	ebx,esi
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,edi
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
_324:
	add	dword [ebp-4],1
_6252:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_326
_325:
_6251:
	mov	eax,0
	jmp	_3029
_3029:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalMorphTargetMixer
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+16],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [esi+20],eax
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_6272
	push	eax
	call	_bbGCFree
	add	esp,4
_6272:
	mov	dword [esi+8],ebx
	push	0
	push	_6273
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_6277
	push	eax
	call	_bbGCFree
	add	esp,4
_6277:
	mov	dword [esi+12],ebx
	push	0
	push	_6278
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_6282
	push	eax
	call	_bbGCFree
	add	esp,4
_6282:
	mov	dword [esi+16],ebx
	push	0
	push	_6283
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_6287
	push	eax
	call	_bbGCFree
	add	esp,4
_6287:
	mov	dword [esi+20],ebx
	mov	eax,0
	jmp	_3032
_3032:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_3035:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_6290
	push	eax
	call	_bbGCFree
	add	esp,4
_6290:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_6292
	push	eax
	call	_bbGCFree
	add	esp,4
_6292:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_6294
	push	eax
	call	_bbGCFree
	add	esp,4
_6294:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_6296
	push	eax
	call	_bbGCFree
	add	esp,4
_6296:
	mov	eax,0
	jmp	_6288
_6288:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_FromModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_CalMorphTargetMixer
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [edi+8]
	dec	dword [eax+4]
	jnz	_6301
	push	eax
	call	_bbGCFree
	add	esp,4
_6301:
	mov	dword [edi+8],ebx
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	mov	ebx,eax
	push	ebx
	push	_6305
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_6309
	push	eax
	call	_bbGCFree
	add	esp,4
_6309:
	mov	dword [edi+12],esi
	push	ebx
	push	_6310
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [edi+16]
	dec	dword [eax+4]
	jnz	_6314
	push	eax
	call	_bbGCFree
	add	esp,4
_6314:
	mov	dword [edi+16],esi
	push	ebx
	push	_6315
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+20]
	dec	dword [eax+4]
	jnz	_6319
	push	eax
	call	_bbGCFree
	add	esp,4
_6319:
	mov	dword [edi+20],ebx
	mov	eax,edi
	jmp	_3038
_3038:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_blend:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6320
	mov	eax,dword [ecx+12]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_6320:
	cmp	eax,0
	je	_6322
	fstp	st0
	fstp	st0
	push	_117
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_3044
_6322:
	mov	eax,dword [ecx+16]
	fxch	st1
	fstp	dword [eax+edx*4+24]
	mov	eax,dword [ecx+20]
	fstp	dword [eax+edx*4+24]
	mov	byte [ebp-4],1
	jmp	_3044
_3044:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_clear:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+16]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6323
	mov	eax,dword [ecx+12]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_6323:
	cmp	eax,0
	je	_6325
	fstp	st0
	push	_117
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_3049
_6325:
	mov	eax,dword [ecx+16]
	fldz
	fstp	dword [eax+edx*4+24]
	mov	eax,dword [ecx+20]
	fstp	dword [eax+edx*4+24]
	mov	byte [ebp-4],1
	jmp	_3049
_3049:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_getCurrentWeight:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6326
	mov	eax,dword [ecx+12]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_6326:
	cmp	eax,0
	je	_6328
	push	_117
	call	_brl_blitz_DebugLog
	add	esp,4
	fld	dword [_8889]
	jmp	_3053
_6328:
	mov	eax,dword [ecx+12]
	fld	dword [eax+edx*4+24]
	jmp	_3053
_3053:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_getCurrentWeightBase:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ecx,dword [ebp+8]
	fld	dword [_8897]
	mov	edx,0
	mov	eax,dword [ecx+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	jmp	_6331
_329:
	mov	ebx,dword [ecx+12]
	fsub	dword [ebx+edx*4+24]
_327:
	add	edx,1
_6331:
	cmp	edx,eax
	jle	_329
_328:
	jmp	_3056
_3056:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_getMorphTargetCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	jmp	_3059
_3059:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_update:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	fld	dword [ebp+12]
	mov	dword [ebp-8],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	edx,dword [eax+16]
	sub	edx,1
	jmp	_6334
_332:
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+12]
	mov	eax,dword [ebp-8]
	fld	dword [ecx+eax*4+24]
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+16]
	mov	eax,dword [ebp-8]
	fld	dword [ecx+eax*4+24]
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+20]
	mov	eax,dword [ebp-8]
	fld	dword [ecx+eax*4+24]
	fxch	st3
	fucom	st3
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_6339
	fxch	st2
	fstp	st0
	fxch	st2
	fstp	st0
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+12]
	mov	eax,dword [ebp-8]
	fxch	st1
	fstp	dword [ecx+eax*4+24]
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+20]
	fldz
	mov	eax,dword [ebp-8]
	fstp	dword [ecx+eax*4+24]
	jmp	_6340
_6339:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	ecx,dword [ebp+8]
	mov	ebx,dword [ecx+12]
	mov	ecx,dword [ebp-8]
	fld	dword [ebx+ecx*4+24]
	fxch	st3
	fsubp	st2,st0
	fmul	st1,st0
	fxch	st3
	fdivp	st1,st0
	faddp	st1,st0
	mov	ecx,dword [ebp-8]
	fstp	dword [eax+ecx*4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	ecx,dword [ebp+8]
	mov	ebx,dword [ecx+20]
	mov	ecx,dword [ebp-8]
	fld	dword [ebx+ecx*4+24]
	fsub	st0,st1
	mov	ecx,dword [ebp-8]
	fstp	dword [eax+ecx*4+24]
_6340:
_330:
	add	dword [ebp-8],1
_6334:
	cmp	dword [ebp-8],edx
	jle	_332
	fstp	st0
_331:
	mov	dword [ebp-12],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_6342
_335:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	mov	ebx,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebp-16],eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],0
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-20],eax
	jmp	_6351
_338:
	mov	eax,dword [ebp+8]
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebp-8]
	mov	eax,dword [ebp-16]
	push	dword [eax+edx*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+64]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	esi,eax
	mov	eax,dword [esi+16]
	mov	ebx,0
	sub	eax,1
	mov	edi,eax
	jmp	_6358
_341:
	mov	eax,dword [esi+ebx*4+24]
	mov	edx,dword [ebp+8]
	mov	ecx,dword [edx+12]
	mov	edx,dword [ebp-12]
	push	dword [ecx+edx*4+24]
	mov	ecx,dword [ebp-4]
	mov	edx,dword [ebp-8]
	push	dword [ecx+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,12
_339:
	add	ebx,1
_6358:
	cmp	ebx,edi
	jle	_341
_340:
_336:
	add	dword [ebp-8],1
_6351:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-8],eax
	jle	_338
_337:
_333:
	add	dword [ebp-12],1
_6342:
	mov	eax,dword [ebp-24]
	cmp	dword [ebp-12],eax
	jle	_335
_334:
	mov	eax,0
	jmp	_3063
_3063:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalPhysique
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	byte [esi+12],0
	fldz
	fstp	dword [esi+16]
	fldz
	fstp	dword [esi+20]
	fldz
	fstp	dword [esi+24]
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_6365
	push	eax
	call	_bbGCFree
	add	esp,4
_6365:
	mov	dword [esi+8],ebx
	mov	byte [esi+12],0
	fldz
	fstp	dword [esi+16]
	fldz
	fstp	dword [esi+20]
	fldz
	fstp	dword [esi+24]
	mov	eax,0
	jmp	_3066
_3066:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_3069:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_6368
	push	eax
	call	_bbGCFree
	add	esp,4
_6368:
	mov	eax,0
	jmp	_6366
_6366:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_FromModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalPhysique
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_6373
	push	eax
	call	_bbGCFree
	add	esp,4
_6373:
	mov	dword [esi+8],ebx
	mov	byte [esi+12],1
	fld1
	fstp	dword [esi+16]
	fld1
	fstp	dword [esi+20]
	fld1
	fstp	dword [esi+24]
	mov	eax,esi
	jmp	_3072
_3072:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateTangentSpaces:
	push	ebp
	mov	ebp,esp
	sub	esp,64
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6376
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	cmp	ebx,dword [eax+16]
	setge	al
	movzx	eax,al
_6376:
	cmp	eax,0
	je	_6378
	mov	eax,0
	jmp	_3079
_6378:
	cmp	dword [ebp+24],0
	jg	_6379
	mov	dword [ebp+24],4
_6379:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,4
	imul	eax,dword [ebp+24]
	mov	edx,dword [ebp+20]
	cmp	dword [edx+16],eax
	jge	_6381
	mov	eax,0
	jmp	_3079
_6381:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-40],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-60],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-56],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-64],eax
	mov	dword [ebp-44],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebp-48],0
	mov	eax,dword [ebp-64]
	sub	eax,1
	mov	dword [ebp-52],eax
	jmp	_6397
_344:
	mov	edx,dword [ebp-48]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-36],eax
	mov	edx,dword [ebp-48]
	mov	eax,dword [ebp-60]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-28],eax
	fld	dword [_8925]
	fstp	dword [ebp-8]
	fld	dword [_8926]
	fstp	dword [ebp-12]
	fld	dword [_8927]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_6406
_347:
	mov	eax,dword [ebp-28]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-40]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,ebx
	mov	edx,dword [ebp-36]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	fld	dword [esi+12]
	fmul	dword [ebx+8]
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [esi+12]
	fmul	dword [ebx+12]
	fld	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [esi+12]
	fmul	dword [ebx+16]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
_345:
	add	dword [ebp-4],1
_6406:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-4],eax
	jle	_347
_346:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_6413
	fld	dword [ebp-8]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-8]
	fld	dword [ebp-12]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-12]
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+24]
	fstp	dword [ebp-16]
	fld1
	fstp	qword [ebp-24]
	fld	dword [ebp-8]
	fmul	dword [ebp-8]
	fld	dword [ebp-12]
	fmul	dword [ebp-12]
	faddp	st1,st0
	fld	dword [ebp-16]
	fmul	dword [ebp-16]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-24]
	fdivrp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	fld	dword [ebp-8]
	fmul	st0,st1
	mov	edx,dword [ebp-44]
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-44]
	add	edx,1
	fld	dword [ebp-12]
	fmul	st0,st1
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-44]
	add	edx,2
	fld	dword [ebp-16]
	fmulp	st1,st0
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	jmp	_6415
_6413:
	fld	dword [ebp-8]
	mov	edx,dword [ebp-44]
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-44]
	add	edx,1
	fld	dword [ebp-12]
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-44]
	add	edx,2
	fld	dword [ebp-16]
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
_6415:
	mov	edx,dword [ebp-44]
	add	edx,3
	mov	eax,dword [ebp-36]
	fld	dword [eax+12]
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	mov	eax,dword [ebp+24]
	add	dword [ebp-44],eax
_342:
	add	dword [ebp-48],1
_6397:
	mov	eax,dword [ebp-52]
	cmp	dword [ebp-48],eax
	jle	_344
_343:
	mov	eax,dword [ebp-64]
	jmp	_3079
_3079:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateNormals:
	push	ebp
	mov	ebp,esp
	sub	esp,76
	push	ebx
	push	esi
	push	edi
	cmp	dword [ebp+20],0
	jg	_6416
	mov	dword [ebp+20],3
_6416:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	imul	eax,dword [ebp+20]
	mov	edx,dword [ebp+16]
	cmp	dword [edx+16],eax
	jge	_6418
	mov	eax,0
	jmp	_3085
_6418:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-72],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-76],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-56],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebp-48]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	mov	dword [ebp-68],eax
	mov	dword [ebp-60],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-28],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-36],eax
	mov	dword [ebp-44],0
	mov	eax,dword [ebp-76]
	sub	eax,1
	mov	dword [ebp-64],eax
	jmp	_6438
_350:
	mov	edx,dword [ebp-44]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-40],eax
	fld1
	fld	dword [ebp-48]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6441
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fld	dword [eax+8]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fld	dword [eax+12]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fld	dword [eax+16]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+16]
	jmp	_6442
_6441:
	fld	dword [ebp-48]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+8]
	fld	dword [ebp-48]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+12]
	fld	dword [ebp-48]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+16]
	mov	esi,0
	mov	eax,dword [ebp-68]
	sub	eax,1
	mov	edi,eax
	jmp	_6444
_353:
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	edx,dword [ebp-44]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	mov	eax,dword [ebp-28]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-28]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-28]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-28]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-28]
	fld	dword [eax+16]
	mov	eax,dword [ebx+12]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-28]
	fstp	dword [eax+16]
_351:
	add	esi,1
_6444:
	cmp	esi,edi
	jle	_353
_352:
_6442:
	fld	dword [_8945]
	fstp	dword [ebp-8]
	fld	dword [_8946]
	fstp	dword [ebp-12]
	fld	dword [_8947]
	fstp	dword [ebp-24]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	cmp	eax,0
	jne	_6455
	mov	eax,dword [ebp-28]
	fld	dword [eax+8]
	fstp	dword [ebp-8]
	mov	eax,dword [ebp-28]
	fld	dword [eax+12]
	fstp	dword [ebp-12]
	mov	eax,dword [ebp-28]
	fld	dword [eax+16]
	fstp	dword [ebp-24]
	jmp	_6456
_6455:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_6458
_356:
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-52]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [ebp-36]
	push	dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,dword [ebp-36]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	fld	dword [esi+12]
	mov	eax,dword [ebp-36]
	fmul	dword [eax+8]
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [esi+12]
	mov	eax,dword [ebp-36]
	fmul	dword [eax+12]
	fld	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [esi+12]
	mov	eax,dword [ebp-36]
	fmul	dword [eax+16]
	fld	dword [ebp-24]
	faddp	st1,st0
	fstp	dword [ebp-24]
_354:
	add	dword [ebp-4],1
_6458:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-4],eax
	jle	_356
_355:
_6456:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_6465
	fld	dword [ebp-8]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-8]
	fld	dword [ebp-12]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-12]
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+24]
	fstp	dword [ebp-24]
	fld1
	fstp	qword [ebp-20]
	fld	dword [ebp-8]
	fmul	dword [ebp-8]
	fld	dword [ebp-12]
	fmul	dword [ebp-12]
	faddp	st1,st0
	fld	dword [ebp-24]
	fmul	dword [ebp-24]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-20]
	fdivrp	st1,st0
	fstp	qword [ebp-20]
	fld	qword [ebp-20]
	fld	dword [ebp-8]
	fmul	st0,st1
	mov	edx,dword [ebp-60]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-60]
	add	edx,1
	fld	dword [ebp-12]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-60]
	add	edx,2
	fld	dword [ebp-24]
	fmulp	st1,st0
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	jmp	_6467
_6465:
	fld	dword [ebp-8]
	mov	edx,dword [ebp-60]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-60]
	add	edx,1
	fld	dword [ebp-12]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-60]
	add	edx,2
	fld	dword [ebp-24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_6467:
	mov	eax,dword [ebp+20]
	add	dword [ebp-60],eax
_348:
	add	dword [ebp-44],1
_6438:
	mov	eax,dword [ebp-64]
	cmp	dword [ebp-44],eax
	jle	_350
_349:
	mov	eax,dword [ebp-76]
	jmp	_3085
_3085:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateVertices:
	push	ebp
	mov	ebp,esp
	sub	esp,72
	push	ebx
	push	esi
	push	edi
	cmp	dword [ebp+20],0
	jg	_6468
	mov	dword [ebp+20],3
_6468:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	imul	eax,dword [ebp+20]
	mov	edx,dword [ebp+16]
	cmp	dword [edx+16],eax
	jge	_6470
	mov	eax,0
	jmp	_3091
_6470:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-48],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-68],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-64],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-72],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-44],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebp-36]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	mov	dword [ebp-60],eax
	mov	dword [ebp-52],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-28],eax
	mov	dword [ebp-40],0
	mov	eax,dword [ebp-72]
	sub	eax,1
	mov	dword [ebp-56],eax
	jmp	_6493
_359:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp-68]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp-20]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	fld1
	fld	dword [ebp-36]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6497
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+8]
	fld	dword [eax+8]
	mov	eax,dword [ebp-20]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp-20]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+8]
	fld	dword [eax+16]
	mov	eax,dword [ebp-20]
	fstp	dword [eax+16]
	jmp	_6498
_6497:
	fld	dword [ebp-36]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+8]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-20]
	fstp	dword [eax+8]
	fld	dword [ebp-36]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+8]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-20]
	fstp	dword [eax+12]
	fld	dword [ebp-36]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+8]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-20]
	fstp	dword [eax+16]
	mov	esi,0
	mov	eax,dword [ebp-60]
	sub	eax,1
	mov	edi,eax
	jmp	_6500
_362:
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	edx,dword [ebp-40]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	mov	eax,dword [ebp-20]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-20]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-20]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-20]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-20]
	fld	dword [eax+16]
	mov	eax,dword [ebx+8]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-20]
	fstp	dword [eax+16]
_360:
	add	esi,1
_6500:
	cmp	esi,edi
	jle	_362
_361:
_6498:
	fld	dword [_8964]
	fstp	dword [ebp-16]
	fld	dword [_8965]
	fstp	dword [ebp-8]
	fld	dword [_8966]
	fstp	dword [ebp-12]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	cmp	eax,0
	jne	_6511
	mov	eax,dword [ebp-20]
	fld	dword [eax+8]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-20]
	fld	dword [eax+12]
	fstp	dword [ebp-8]
	mov	eax,dword [ebp-20]
	fld	dword [eax+16]
	fstp	dword [ebp-12]
	jmp	_6512
_6511:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_6514
_365:
	mov	eax,dword [ebp-32]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebp-48]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [ebp-28]
	push	dword [ebp-20]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	esi,dword [ebp-28]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,8
	mov	esi,dword [ebp-28]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	fld	dword [ebx+12]
	mov	eax,dword [ebp-28]
	fmul	dword [eax+8]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebx+12]
	mov	eax,dword [ebp-28]
	fmul	dword [eax+12]
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebx+12]
	mov	eax,dword [ebp-28]
	fmul	dword [eax+16]
	fld	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [ebp-12]
_363:
	add	dword [ebp-4],1
_6514:
	mov	eax,dword [ebp-24]
	cmp	dword [ebp-4],eax
	jle	_365
_364:
_6512:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_6526
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_6526:
	cmp	eax,0
	je	_6528
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp-64]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6530
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-52]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-52]
	add	edx,1
	fld	dword [ebp-8]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-52]
	add	edx,2
	fld	dword [ebp-12]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_6530:
	jmp	_6531
_6528:
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-52]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-52]
	add	edx,1
	fld	dword [ebp-8]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-52]
	add	edx,2
	fld	dword [ebp-12]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_6531:
	mov	eax,dword [ebp+20]
	add	dword [ebp-52],eax
_357:
	add	dword [ebp-40],1
_6493:
	mov	eax,dword [ebp-56]
	cmp	dword [ebp-40],eax
	jle	_359
_358:
	mov	eax,dword [ebp-72]
	jmp	_3091
_3091:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateVertex:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-40],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	esi,eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebp-8]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp+16]
	mov	eax,dword [esi+eax*4+24]
	mov	dword [ebp-36],eax
	push	0
	push	0
	push	0
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	dword [ebp-24],eax
	fld1
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6547
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fld	dword [eax+8]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fld	dword [eax+16]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+16]
	jmp	_6548
_6547:
	fld	dword [ebp-8]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+8]
	fld	dword [ebp-8]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+12]
	fld	dword [ebp-8]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+16]
	mov	esi,0
	sub	ebx,1
	mov	edi,ebx
	jmp	_6550
_368:
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	edx,dword [ebp+16]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	mov	eax,dword [ebp-24]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-24]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-24]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-24]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-24]
	fld	dword [eax+16]
	mov	eax,dword [ebx+8]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-24]
	fstp	dword [eax+16]
_366:
	add	esi,1
_6550:
	cmp	esi,edi
	jle	_368
_367:
_6548:
	fld	dword [_8985]
	fstp	dword [ebp-16]
	fld	dword [_8986]
	fstp	dword [ebp-12]
	fld	dword [_8987]
	fstp	dword [ebp-20]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	cmp	eax,0
	jne	_6562
	mov	eax,dword [ebp-24]
	fld	dword [eax+8]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-24]
	fld	dword [eax+12]
	fstp	dword [ebp-12]
	mov	eax,dword [ebp-24]
	fld	dword [eax+16]
	fstp	dword [ebp-20]
	jmp	_6563
_6562:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-28],eax
	jmp	_6565
_371:
	mov	eax,dword [ebp-36]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebp-40]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,esi
	push	dword [ebp-24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	fld	dword [ebx+12]
	fmul	dword [esi+8]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebx+12]
	fmul	dword [esi+12]
	fld	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebx+12]
	fmul	dword [esi+16]
	fld	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebp-20]
_369:
	add	dword [ebp-4],1
_6565:
	mov	eax,dword [ebp-28]
	cmp	dword [ebp-4],eax
	jle	_371
_370:
_6563:
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-12]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_3096
_3096:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateVerticesAndNormals:
	push	ebp
	mov	ebp,esp
	sub	esp,100
	push	ebx
	push	esi
	push	edi
	cmp	dword [ebp+20],0
	jg	_6574
	mov	dword [ebp+20],6
_6574:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	imul	eax,dword [ebp+20]
	mov	edx,dword [ebp+16]
	cmp	dword [edx+16],eax
	jge	_6576
	mov	eax,0
	jmp	_3102
_6576:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-80],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-96],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-92],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-100],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-76],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebp-64]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	mov	dword [ebp-88],eax
	mov	dword [ebp-72],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-52],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-60],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-48],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-44],eax
	mov	dword [ebp-68],0
	mov	eax,dword [ebp-100]
	sub	eax,1
	mov	dword [ebp-84],eax
	jmp	_6601
_374:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp-96]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-56],eax
	mov	eax,dword [ebp-48]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [ebp-44]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	fld1
	fld	dword [ebp-64]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6606
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fld	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fld	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fld	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fld	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fld	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	jmp	_6607
_6606:
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	mov	esi,0
	mov	eax,dword [ebp-88]
	sub	eax,1
	mov	edi,eax
	jmp	_6609
_377:
	mov	eax,dword [ebp-76]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	edx,dword [ebp-68]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	mov	eax,dword [ebx+12]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
_375:
	add	esi,1
_6609:
	cmp	esi,edi
	jle	_377
_376:
_6607:
	fld	dword [_9005]
	fstp	dword [ebp-24]
	fld	dword [_9006]
	fstp	dword [ebp-16]
	fld	dword [_9007]
	fstp	dword [ebp-20]
	fld	dword [_9011]
	fstp	dword [ebp-40]
	fld	dword [_9012]
	fstp	dword [ebp-32]
	fld	dword [_9013]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	cmp	eax,0
	jne	_6623
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fstp	dword [ebp-24]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fstp	dword [ebp-40]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fstp	dword [ebp-32]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	fstp	dword [ebp-36]
	jmp	_6624
_6623:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-28],eax
	jmp	_6626
_380:
	mov	eax,dword [ebp-56]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-80]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp-52]
	push	dword [ebp-48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edi,dword [ebp-52]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+84]
	add	esp,8
	mov	edi,dword [ebp-52]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+68]
	add	esp,8
	fld	dword [esi+12]
	mov	eax,dword [ebp-52]
	fmul	dword [eax+8]
	fld	dword [ebp-24]
	faddp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [esi+12]
	mov	eax,dword [ebp-52]
	fmul	dword [eax+12]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [esi+12]
	mov	eax,dword [ebp-52]
	fmul	dword [eax+16]
	fld	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-60]
	push	dword [ebp-44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edi,dword [ebp-60]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+84]
	add	esp,8
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+8]
	fld	dword [ebp-40]
	faddp	st1,st0
	fstp	dword [ebp-40]
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+12]
	fld	dword [ebp-32]
	faddp	st1,st0
	fstp	dword [ebp-32]
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+16]
	fld	dword [ebp-36]
	faddp	st1,st0
	fstp	dword [ebp-36]
_378:
	add	dword [ebp-4],1
_6626:
	mov	eax,dword [ebp-28]
	cmp	dword [ebp-4],eax
	jle	_380
_379:
_6624:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_6641
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	sete	al
	movzx	eax,al
_6641:
	cmp	eax,0
	je	_6643
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp-92]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6645
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-72]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,1
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,2
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_6645:
	jmp	_6646
_6643:
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-72]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,1
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,2
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_6646:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_6647
	fld	dword [ebp-40]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-40]
	fld	dword [ebp-32]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-32]
	fld	dword [ebp-36]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+24]
	fstp	dword [ebp-36]
	fld1
	fstp	qword [ebp-12]
	fld	dword [ebp-40]
	fmul	dword [ebp-40]
	fld	dword [ebp-32]
	fmul	dword [ebp-32]
	faddp	st1,st0
	fld	dword [ebp-36]
	fmul	dword [ebp-36]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	mov	edx,dword [ebp-72]
	add	edx,3
	fld	dword [ebp-40]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,4
	fld	dword [ebp-32]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,5
	fld	dword [ebp-36]
	fmulp	st1,st0
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	jmp	_6649
_6647:
	mov	edx,dword [ebp-72]
	add	edx,3
	fld	dword [ebp-40]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,4
	fld	dword [ebp-32]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,5
	fld	dword [ebp-36]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_6649:
	mov	eax,dword [ebp+20]
	add	dword [ebp-72],eax
_372:
	add	dword [ebp-68],1
_6601:
	mov	eax,dword [ebp-84]
	cmp	dword [ebp-68],eax
	jle	_374
_373:
	mov	eax,dword [ebp-100]
	jmp	_3102
_3102:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateVerticesNormalsAndTexCoords:
	push	ebp
	mov	ebp,esp
	sub	esp,100
	push	ebx
	push	esi
	push	edi
	cmp	dword [ebp+20],0
	jge	_6650
	mov	dword [ebp+20],0
_6650:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-76],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-96],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-72],eax
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+16]
	mov	dword [ebp-92],eax
	mov	eax,dword [ebp+20]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6661
	mov	eax,dword [ebp+20]
	cmp	eax,dword [ebp-92]
	setg	al
	movzx	eax,al
_6661:
	cmp	eax,0
	je	_6663
	cmp	dword [ebp-92],0
	je	_6664
	mov	eax,-1
	jmp	_3108
_6664:
_6663:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-88],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-100],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-68],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebp-60]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	mov	dword [ebp-84],eax
	mov	dword [ebp-56],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-48],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-44],eax
	mov	dword [ebp-64],0
	mov	eax,dword [ebp-100]
	sub	eax,1
	mov	dword [ebp-80],eax
	jmp	_6681
_383:
	mov	edx,dword [ebp-64]
	mov	eax,dword [ebp-96]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp-48]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [ebp-44]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	fld1
	fld	dword [ebp-60]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6686
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	jmp	_6687
_6686:
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	mov	esi,0
	mov	eax,dword [ebp-84]
	sub	eax,1
	mov	edi,eax
	jmp	_6689
_386:
	mov	eax,dword [ebp-68]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	edx,dword [ebp-64]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	mov	eax,dword [ebx+12]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
_384:
	add	esi,1
_6689:
	cmp	esi,edi
	jle	_386
_385:
_6687:
	fld	dword [_9037]
	fstp	dword [ebp-24]
	fld	dword [_9038]
	fstp	dword [ebp-16]
	fld	dword [_9039]
	fstp	dword [ebp-20]
	fld	dword [_9043]
	fstp	dword [ebp-36]
	fld	dword [_9044]
	fstp	dword [ebp-28]
	fld	dword [_9045]
	fstp	dword [ebp-32]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	cmp	eax,0
	jne	_6703
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fstp	dword [ebp-24]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fstp	dword [ebp-28]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	fstp	dword [ebp-32]
	jmp	_6704
_6703:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-40],eax
	jmp	_6706
_389:
	mov	eax,dword [ebp-52]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebp-76]
	mov	edi,dword [eax+edx*4+24]
	push	dword [ebp-48]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	esi,eax
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	fld	dword [ebx+12]
	fmul	dword [esi+8]
	fld	dword [ebp-24]
	faddp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [ebx+12]
	fmul	dword [esi+12]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebx+12]
	fmul	dword [esi+16]
	fld	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebp-20]
	push	dword [ebp-44]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	esi,eax
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,8
	fld	dword [ebx+12]
	fmul	dword [esi+8]
	fld	dword [ebp-36]
	faddp	st1,st0
	fstp	dword [ebp-36]
	fld	dword [ebx+12]
	fmul	dword [esi+12]
	fld	dword [ebp-28]
	faddp	st1,st0
	fstp	dword [ebp-28]
	fld	dword [ebx+12]
	fmul	dword [esi+16]
	fld	dword [ebp-32]
	faddp	st1,st0
	fstp	dword [ebp-32]
_387:
	add	dword [ebp-4],1
_6706:
	mov	eax,dword [ebp-40]
	cmp	dword [ebp-4],eax
	jle	_389
_388:
_6704:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_6721
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	sete	al
	movzx	eax,al
_6721:
	cmp	eax,0
	je	_6723
	mov	edx,dword [ebp-64]
	mov	eax,dword [ebp-88]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6725
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-56]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,1
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,2
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_6725:
	jmp	_6726
_6723:
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-56]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,1
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,2
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_6726:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_6727
	fld	dword [ebp-36]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-36]
	fld	dword [ebp-28]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-28]
	fld	dword [ebp-32]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+24]
	fstp	dword [ebp-32]
	fld1
	fstp	qword [ebp-12]
	fld	dword [ebp-36]
	fmul	dword [ebp-36]
	fld	dword [ebp-28]
	fmul	dword [ebp-28]
	faddp	st1,st0
	fld	dword [ebp-32]
	fmul	dword [ebp-32]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	mov	edx,dword [ebp-56]
	add	edx,3
	fld	dword [ebp-36]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,4
	fld	dword [ebp-28]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,5
	fld	dword [ebp-32]
	fmulp	st1,st0
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	jmp	_6729
_6727:
	mov	edx,dword [ebp-56]
	add	edx,3
	fld	dword [ebp-36]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,4
	fld	dword [ebp-28]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,5
	fld	dword [ebp-32]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_6729:
	add	dword [ebp-56],6
	cmp	dword [ebp-92],0
	jne	_6730
	mov	eax,dword [ebp+20]
	shl	eax,1
	add	dword [ebp-56],eax
	jmp	_6731
_6730:
	mov	edx,0
	mov	eax,dword [ebp+20]
	sub	eax,1
	jmp	_6733
_392:
	mov	ecx,dword [ebp-72]
	mov	ebx,dword [ecx+edx*4+24]
	mov	ecx,dword [ebp-64]
	mov	ecx,dword [ebx+ecx*4+24]
	fld	dword [ecx+8]
	mov	esi,dword [ebp-56]
	mov	ebx,dword [ebp+16]
	fstp	dword [ebx+esi*4+24]
	mov	ebx,dword [ebp-56]
	add	ebx,1
	fld	dword [ecx+12]
	mov	ecx,dword [ebp+16]
	fstp	dword [ecx+ebx*4+24]
	add	dword [ebp-56],2
_390:
	add	edx,1
_6733:
	cmp	edx,eax
	jle	_392
_391:
_6731:
_381:
	add	dword [ebp-64],1
_6681:
	mov	eax,dword [ebp-80]
	cmp	dword [ebp-64],eax
	jle	_383
_382:
	mov	eax,dword [ebp-100]
	jmp	_3108
_3108:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_update:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	dword [ebp-20],eax
	mov	dword [ebp-16],0
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_6739
_395:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	dword [ebp-4],0
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_6744
_398:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	esi,dword [eax+edx*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_6748
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	ebx,eax
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	edx,dword [ebp+8]
	push	eax
	push	ebx
	push	esi
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+96]
	add	esp,16
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	eax,dword [eax+16]
	mov	ebx,0
	sub	eax,1
	mov	edi,eax
	jmp	_6757
_401:
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_6760
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp+8]
	push	edx
	push	ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,16
_6760:
_399:
	add	ebx,1
_6757:
	cmp	ebx,edi
	jle	_401
_400:
_6748:
_396:
	add	dword [ebp-4],1
_6744:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_398
_397:
_393:
	add	dword [ebp-16],1
_6739:
	mov	eax,dword [ebp-24]
	cmp	dword [ebp-16],eax
	jle	_395
_394:
	mov	eax,0
	jmp	_3111
_3111:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_setNormalization:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	movzx	eax,byte [ebp+12]
	mov	eax,eax
	mov	byte [ebp-4],al
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	byte [edx+12],al
	mov	eax,0
	jmp	_3115
_3115:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_setAxisFactorX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+16]
	mov	byte [eax+12],1
	mov	eax,0
	jmp	_3119
_3119:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_setAxisFactorY:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+20]
	mov	byte [eax+12],1
	mov	eax,0
	jmp	_3123
_3123:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_setAxisFactorZ:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+24]
	mov	byte [eax+12],1
	mov	eax,0
	jmp	_3127
_3127:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateVerticesAndNormalsInternal:
	push	ebp
	mov	ebp,esp
	sub	esp,96
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	mov	ebx,dword [eax+16]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+84]
	add	esp,4
	cmp	ebx,eax
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6767
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+20]
	mov	ebx,dword [eax+16]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+84]
	add	esp,4
	cmp	ebx,eax
	setl	al
	movzx	eax,al
_6767:
	cmp	eax,0
	je	_6769
	push	_402
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3133
_6769:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-72],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-92],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-88],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-96],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-76],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	fstp	dword [ebp-64]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	mov	dword [ebp-84],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-56],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-60],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-44],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-48],eax
	mov	dword [ebp-68],0
	mov	eax,dword [ebp-96]
	sub	eax,1
	mov	dword [ebp-80],eax
	jmp	_6793
_405:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp-92]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp-44]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [ebp-48]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	fld1
	fld	dword [ebp-64]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6798
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	jmp	_6799
_6798:
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	mov	esi,0
	mov	eax,dword [ebp-84]
	sub	eax,1
	mov	edi,eax
	jmp	_6801
_408:
	mov	eax,dword [ebp-76]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	edx,dword [ebp-68]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	mov	eax,dword [ebx+12]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
_406:
	add	esi,1
_6801:
	cmp	esi,edi
	jle	_408
_407:
_6799:
	fld	dword [_9084]
	fstp	dword [ebp-28]
	fld	dword [_9085]
	fstp	dword [ebp-24]
	fld	dword [_9086]
	fstp	dword [ebp-16]
	fld	dword [_9090]
	fstp	dword [ebp-36]
	fld	dword [_9091]
	fstp	dword [ebp-32]
	fld	dword [_9092]
	fstp	dword [ebp-40]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	cmp	eax,0
	jne	_6815
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fstp	dword [ebp-28]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fstp	dword [ebp-24]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fstp	dword [ebp-32]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	fstp	dword [ebp-40]
	jmp	_6816
_6815:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-20],eax
	jmp	_6818
_411:
	mov	eax,dword [ebp-52]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-72]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp-56]
	push	dword [ebp-44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edi,dword [ebp-56]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+84]
	add	esp,8
	mov	edi,dword [ebp-56]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+68]
	add	esp,8
	fld	dword [esi+12]
	mov	eax,dword [ebp-56]
	fmul	dword [eax+8]
	fld	dword [ebp-28]
	faddp	st1,st0
	fstp	dword [ebp-28]
	fld	dword [esi+12]
	mov	eax,dword [ebp-56]
	fmul	dword [eax+12]
	fld	dword [ebp-24]
	faddp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [esi+12]
	mov	eax,dword [ebp-56]
	fmul	dword [eax+16]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-60]
	push	dword [ebp-48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edi,dword [ebp-60]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+84]
	add	esp,8
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+8]
	fld	dword [ebp-36]
	faddp	st1,st0
	fstp	dword [ebp-36]
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+12]
	fld	dword [ebp-32]
	faddp	st1,st0
	fstp	dword [ebp-32]
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+16]
	fld	dword [ebp-40]
	faddp	st1,st0
	fstp	dword [ebp-40]
_409:
	add	dword [ebp-4],1
_6818:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-4],eax
	jle	_411
_410:
_6816:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+16]
	cmp	dword [eax+edx*4+24],_bbNullObject
	jne	_6830
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+16]
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_6834
	push	eax
	call	_bbGCFree
	add	esp,4
_6834:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+16]
	mov	dword [eax+edx*4+24],ebx
_6830:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+20]
	cmp	dword [eax+edx*4+24],_bbNullObject
	jne	_6835
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_6839
	push	eax
	call	_bbGCFree
	add	esp,4
_6839:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+20]
	mov	dword [eax+edx*4+24],ebx
_6835:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_6843
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_6843:
	cmp	eax,0
	je	_6845
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp-88]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_6847
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+16]
	mov	edx,dword [eax+edx*4+24]
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-28]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	sub	esp,4
	fstp	dword [esp]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,16
_6847:
	jmp	_6849
_6845:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+16]
	mov	edx,dword [eax+edx*4+24]
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-28]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	sub	esp,4
	fstp	dword [esp]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,16
_6849:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_6851
	fld	dword [ebp-36]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-36]
	fld	dword [ebp-32]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-32]
	fld	dword [ebp-40]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+24]
	fstp	dword [ebp-40]
	fld1
	fstp	qword [ebp-12]
	fld	dword [ebp-36]
	fmul	dword [ebp-36]
	fld	dword [ebp-32]
	fmul	dword [ebp-32]
	faddp	st1,st0
	fld	dword [ebp-40]
	fmul	dword [ebp-40]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [ebp-40]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-32]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-36]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	jmp	_6854
_6851:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+edx*4+24]
	push	dword [ebp-40]
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
_6854:
_403:
	add	dword [ebp-68],1
_6793:
	mov	eax,dword [ebp-80]
	cmp	dword [ebp-68],eax
	jle	_405
_404:
	mov	eax,dword [ebp-96]
	jmp	_3133
_3133:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateTangentSpacesInternal:
	push	ebp
	mov	ebp,esp
	sub	esp,68
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	dword [ebp-60],0
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_6858
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	cmp	ebx,dword [eax+16]
	setge	al
	movzx	eax,al
_6858:
	cmp	eax,0
	je	_6860
	push	_412
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3139
_6860:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,4
	mov	edx,dword [ebp+20]
	cmp	dword [edx+16],eax
	jge	_6862
	push	_413
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3139
_6862:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-44],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-56],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-52],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-64],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebp-40],0
	mov	eax,dword [ebp-64]
	sub	eax,1
	mov	dword [ebp-48],eax
	jmp	_6877
_416:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-36],eax
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-28],eax
	fld	dword [_9113]
	fstp	dword [ebp-20]
	fld	dword [_9114]
	fstp	dword [ebp-16]
	fld	dword [_9115]
	fstp	dword [ebp-24]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+16]
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_6886
_419:
	mov	eax,dword [ebp-28]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-44]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,ebx
	mov	edx,dword [ebp-36]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	fld	dword [esi+12]
	fmul	dword [ebx+8]
	fld	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [esi+12]
	fmul	dword [ebx+12]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [esi+12]
	fmul	dword [ebx+16]
	fld	dword [ebp-24]
	faddp	st1,st0
	fstp	dword [ebp-24]
_417:
	add	dword [ebp-4],1
_6886:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-4],eax
	jle	_419
_418:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp+20]
	cmp	dword [eax+edx*4+24],_bbNullObject
	jne	_6893
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_6897
	push	eax
	call	_bbGCFree
	add	esp,4
_6897:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp+20]
	mov	dword [eax+edx*4+24],esi
_6893:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_6898
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-20]
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-60]
	mov	dword [ebp+-68],eax
	fild	dword [ebp+-68]
	fstp	dword [ebp-24]
	fld1
	fstp	qword [ebp-12]
	fld	dword [ebp-20]
	fmul	dword [ebp-20]
	fld	dword [ebp-16]
	fmul	dword [ebp-16]
	faddp	st1,st0
	fld	dword [ebp-24]
	fmul	dword [ebp-24]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+8]
	fld	dword [ebp-24]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-20]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	jmp	_6902
_6898:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+8]
	push	dword [ebp-24]
	push	dword [ebp-16]
	push	dword [ebp-20]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
_6902:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp+20]
	mov	edx,dword [eax+edx*4+24]
	mov	eax,dword [ebp-36]
	fld	dword [eax+12]
	fstp	dword [edx+12]
_414:
	add	dword [ebp-40],1
_6877:
	mov	eax,dword [ebp-48]
	cmp	dword [ebp-40],eax
	jle	_416
_415:
	mov	eax,dword [ebp-64]
	jmp	_3139
_3139:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalSpringSystem
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+16],eax
	mov	byte [esi+20],0
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_6910
	push	eax
	call	_bbGCFree
	add	esp,4
_6910:
	mov	dword [esi+8],ebx
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_6914
	push	eax
	call	_bbGCFree
	add	esp,4
_6914:
	mov	dword [esi+12],ebx
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_6918
	push	eax
	call	_bbGCFree
	add	esp,4
_6918:
	mov	dword [esi+16],ebx
	mov	byte [esi+20],0
	mov	eax,0
	jmp	_3142
_3142:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_3145:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_6921
	push	eax
	call	_bbGCFree
	add	esp,4
_6921:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_6923
	push	eax
	call	_bbGCFree
	add	esp,4
_6923:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_6925
	push	eax
	call	_bbGCFree
	add	esp,4
_6925:
	mov	eax,0
	jmp	_6919
_6919:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_FromModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalSpringSystem
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_6930
	push	eax
	call	_bbGCFree
	add	esp,4
_6930:
	mov	dword [esi+8],ebx
	push	0
	push	-1027329229
	push	0
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_6934
	push	eax
	call	_bbGCFree
	add	esp,4
_6934:
	mov	dword [esi+12],ebx
	push	1056964608
	push	0
	push	0
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_6938
	push	eax
	call	_bbGCFree
	add	esp,4
_6938:
	mov	dword [esi+16],ebx
	mov	byte [esi+20],0
	mov	eax,esi
	jmp	_3148
_3148:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_calculateForces:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,4
	mov	ebx,eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+76]
	add	esp,4
	mov	dword [ebp-12],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	edi,0
	mov	eax,dword [ebx+16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_6947
_422:
	mov	eax,dword [ebp-12]
	mov	esi,dword [eax+edi*4+24]
	mov	eax,dword [ebp-8]
	mov	ebx,dword [eax+edi*4+24]
	fld	dword [ebx+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_6951
	mov	edx,dword [esi+20]
	mov	eax,dword [ebp+8]
	push	dword [eax+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [esi+20]
	push	dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	edx,dword [esi+20]
	mov	eax,dword [ebp+8]
	push	dword [eax+16]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+68]
	add	esp,8
_6951:
_420:
	add	edi,1
_6947:
	cmp	edi,dword [ebp-4]
	jle	_422
_421:
	mov	eax,0
	jmp	_3153
_3153:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_calculateVertices:
	push	ebp
	mov	ebp,esp
	sub	esp,84
	push	ebx
	push	esi
	push	edi
	mov	byte [ebp-4],0
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	dword [ebp-64],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-60],eax
	mov	dword [ebp-52],0
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-80],eax
	jmp	_6963
_425:
	mov	edx,dword [ebp-36]
	mov	eax,dword [ebp-52]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-76],eax
	mov	edx,dword [ebp-52]
	mov	eax,dword [ebp-64]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-20],eax
	mov	edx,dword [ebp-52]
	mov	eax,dword [ebp-60]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [ebp-20]
	push	dword [eax+12]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [ebp-72],eax
	fld	dword [edi+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_6969
	mov	eax,dword [ebp-20]
	mov	esi,dword [eax+12]
	mov	eax,dword [ebp-20]
	push	dword [eax+16]
	push	dword [ebp-72]
	call	_c3d_cal3d_vectorSub
	add	esp,8
	push	1065185444
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	ebx,eax
	fld	dword [ebp+16]
	fmul	dword [ebp+16]
	fdiv	dword [edi+8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-20]
	push	dword [eax+20]
	call	_c3d_cal3d_vectorScalarMult
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	edx,dword [ebp+8]
	movzx	edx,byte [edx+20]
	mov	edx,edx
	cmp	edx,1
	jne	_6975
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-44],eax
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-48],eax
	jmp	_6979
_428:
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	byte [ebp-4],1
	mov	edi,7696
	mov	esi,-1
	mov	ebx,0
	jmp	_6987
_431:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-20]
	push	dword [eax+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_6989
	mov	byte [ebp-4],0
	jmp	_6990
_6989:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-20]
	push	dword [eax+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	dword [ebp+-84],edi
	fild	dword [ebp+-84]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_9152
	fstp	st0
	jmp	_6993
_9152:
	mov	esi,ebx
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edi,eax
_6993:
_6990:
_429:
	add	ebx,1
_6987:
	cmp	ebx,5
	jle	_431
_430:
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_6994
	cmp	esi,-1
	setne	al
	movzx	eax,al
_6994:
	cmp	eax,0
	je	_6996
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+esi*4+24]
	push	dword [eax+16]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+esi*4+24]
	push	dword [eax+12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+esi*4+24]
	push	dword [eax+8]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	esi,eax
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	fstp	st0
	add	esp,4
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+12]
	mov	dword [ebp+-84],edi
	fild	dword [ebp+-84]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_c3d_cal3d_vectorScalarMult
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
_6996:
	mov	byte [ebp-4],1
	mov	ebx,0
	jmp	_7000
_434:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-20]
	push	dword [eax+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_7002
	mov	byte [ebp-4],0
_7002:
_432:
	add	ebx,1
_7000:
	cmp	ebx,5
	jle	_434
_433:
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,1
	jne	_7003
	mov	eax,dword [ebp-20]
	mov	ecx,dword [eax+12]
	mov	edx,dword [ebp-36]
	mov	eax,dword [ebp-52]
	push	dword [edx+eax*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+64]
	add	esp,8
_7003:
_426:
	add	dword [ebp-28],1
_6979:
	mov	eax,dword [ebp-48]
	cmp	dword [ebp-28],eax
	jle	_428
_427:
_6975:
	jmp	_7005
_6969:
	mov	eax,dword [ebp-20]
	mov	ecx,dword [eax+12]
	mov	edx,dword [ebp-36]
	mov	eax,dword [ebp-52]
	push	dword [edx+eax*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+64]
	add	esp,8
_7005:
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+16]
	push	dword [ebp-72]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edx,dword [ebp-76]
	mov	eax,dword [ebp-20]
	push	dword [eax+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+20]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
_423:
	add	dword [ebp-52],1
_6963:
	mov	eax,dword [ebp-80]
	cmp	dword [ebp-52],eax
	jle	_425
_424:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-40],eax
	mov	eax,2
	mov	dword [ebp-56],0
	sub	eax,1
	mov	dword [ebp-68],eax
	jmp	_7015
_437:
	mov	dword [ebp-24],0
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_7018
_440:
	mov	edx,dword [ebp-24]
	mov	eax,dword [ebp-40]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp-36]
	push	dword [eax+edx*4+24]
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp-36]
	push	dword [eax+edx*4+24]
	call	_c3d_cal3d_vectorSub
	add	esp,8
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	fstp	dword [ebp-8]
	fldz
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_7024
	push	2
	push	_7025
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	fld	dword [ebp-8]
	fsub	dword [edi+16]
	fdiv	dword [ebp-8]
	fstp	dword [ebx+24]
	fld	dword [ebx+24]
	fstp	dword [ebx+4+24]
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp-60]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_7027
	fld	dword [ebx+24]
	fdiv	dword [_9136]
	fstp	dword [ebx+24]
	fld	dword [ebx+4+24]
	fdiv	dword [_9137]
	fstp	dword [ebx+4+24]
	jmp	_7028
_7027:
	fldz
	fstp	dword [ebx+24]
_7028:
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp-60]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_7029
	fld	dword [ebx+24]
	fmul	dword [_9138]
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+4+24]
_7029:
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp-36]
	mov	esi,dword [eax+edx*4+24]
	push	dword [ebx+24]
	push	dword [ebp-16]
	call	_c3d_cal3d_vectorScalarMult
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp-64]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [edi+8]
	mov	ecx,dword [edx+24]
	mov	edx,dword [ebp-36]
	push	dword [edx+ecx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp-36]
	mov	esi,dword [eax+edx*4+24]
	push	dword [ebx+4+24]
	push	dword [ebp-16]
	call	_c3d_cal3d_vectorScalarMult
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp-64]
	mov	eax,dword [eax+edx*4+24]
	mov	ecx,dword [eax+12]
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp-36]
	push	dword [eax+edx*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+64]
	add	esp,8
_7024:
_438:
	add	dword [ebp-24],1
_7018:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-24],eax
	jle	_440
_439:
_435:
	add	dword [ebp-56],1
_7015:
	mov	eax,dword [ebp-68]
	cmp	dword [ebp-56],eax
	jle	_437
_436:
	mov	eax,0
	jmp	_3158
_3158:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_update:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	dword [ebp-16],eax
	mov	dword [ebp-12],0
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-20],eax
	jmp	_7037
_443:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	esi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+16]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_7042
_446:
	mov	eax,dword [ebp-4]
	mov	ebx,dword [eax+esi*4+24]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_7048
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_7048:
	cmp	eax,0
	je	_7050
	mov	eax,edi
	push	dword [ebp+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,12
	mov	eax,edi
	push	dword [ebp+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,12
_7050:
_444:
	add	esi,1
_7042:
	cmp	esi,dword [ebp-8]
	jle	_446
_445:
_441:
	add	dword [ebp-12],1
_7037:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-12],eax
	jle	_443
_442:
	mov	eax,0
	jmp	_3162
_3162:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_getGravityVector:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_3165
_3165:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_setGravityVector:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,0
	jmp	_3169
_3169:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_getForceVector:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_3172
_3172:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_setForceVector:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+16]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,0
	jmp	_3176
_3176:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_setCollisionDetection:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	movzx	eax,byte [ebp+12]
	mov	eax,eax
	mov	byte [ebp-4],al
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	byte [edx+20],al
	mov	eax,0
	jmp	_3180
_3180:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalRenderer
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+12],eax
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_7060
	push	eax
	call	_bbGCFree
	add	esp,4
_7060:
	mov	dword [esi+8],ebx
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_7064
	push	eax
	call	_bbGCFree
	add	esp,4
_7064:
	mov	dword [esi+12],ebx
	mov	eax,0
	jmp	_3183
_3183:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_3186:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_7067
	push	eax
	call	_bbGCFree
	add	esp,4
_7067:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_7069
	push	eax
	call	_bbGCFree
	add	esp,4
_7069:
	mov	eax,0
	jmp	_7065
_7065:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_FromModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalRenderer
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_7074
	push	eax
	call	_bbGCFree
	add	esp,4
_7074:
	mov	dword [esi+8],ebx
	mov	eax,esi
	jmp	_3189
_3189:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_FromRenderer:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_CalRenderer
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [esi+8]
	inc	dword [eax+4]
	mov	edi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_7079
	push	eax
	call	_bbGCFree
	add	esp,4
_7079:
	mov	dword [ebx+8],edi
	mov	esi,dword [esi+12]
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_7083
	push	eax
	call	_bbGCFree
	add	esp,4
_7083:
	mov	dword [ebx+12],esi
	mov	eax,ebx
	jmp	_3192
_3192:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_beginRendering:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	cmp	dword [eax+16],0
	jne	_7086
	mov	byte [ebp-4],0
	jmp	_3195
_7086:
	mov	eax,dword [eax+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_7091
	push	eax
	call	_bbGCFree
	add	esp,4
_7091:
	mov	dword [ebx+12],esi
	cmp	dword [ebx+12],_bbNullObject
	jne	_7092
	mov	byte [ebp-4],0
	jmp	_3195
_7092:
	mov	byte [ebp-4],1
	jmp	_3195
_3195:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_endRendering:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_7096
	push	eax
	call	_bbGCFree
	add	esp,4
_7096:
	mov	dword [esi+12],ebx
	mov	eax,0
	jmp	_3198
_3198:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getAmbientColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [edi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_7101
	fldz
	fstp	dword [esi+24]
	fldz
	fstp	dword [esi+4+24]
	fldz
	fstp	dword [esi+8+24]
	fldz
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3202
_7101:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	fld	dword [eax+8]
	fstp	dword [esi+24]
	fld	dword [eax+12]
	fstp	dword [esi+4+24]
	fld	dword [eax+16]
	fstp	dword [esi+8+24]
	fld	dword [eax+20]
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3202
_3202:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getDiffuseColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [edi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_7108
	fld	dword [_9189]
	fstp	dword [esi+24]
	fld	dword [_9190]
	fstp	dword [esi+4+24]
	fld	dword [_9191]
	fstp	dword [esi+8+24]
	fld	dword [_9192]
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3206
_7108:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	fld	dword [eax+8]
	fstp	dword [esi+24]
	fld	dword [eax+12]
	fstp	dword [esi+4+24]
	fld	dword [eax+16]
	fstp	dword [esi+8+24]
	fld	dword [eax+20]
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3206
_3206:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getFaceCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	jmp	_3209
_3209:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getFaces:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	jmp	_3213
_3213:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getMapCount:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_7117
	mov	eax,0
	jmp	_3216
_7117:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	jmp	_3216
_3216:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getMapUserData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_7123
	mov	eax,_bbNullObject
	jmp	_3220
_7123:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	edx,eax
	cmp	edi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_7126
	cmp	edi,dword [edx+16]
	setge	al
	movzx	eax,al
_7126:
	cmp	eax,0
	je	_7128
	push	_447
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_3220
_7128:
	mov	eax,dword [edx+edi*4+24]
	mov	eax,dword [eax+12]
	jmp	_3220
_3220:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getMeshCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	eax,dword [eax+16]
	jmp	_3223
_3223:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getNormals:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_7132
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-8],eax
	cmp	dword [ebp+16],0
	jg	_7137
	mov	dword [ebp+16],3
_7137:
	mov	ecx,0
	mov	edx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	edi,eax
	jmp	_7140
_450:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+ecx*4+24]
	mov	esi,ecx
	add	esi,1
	fld	dword [eax+12]
	fstp	dword [ebx+esi*4+24]
	mov	esi,ecx
	add	esi,2
	fld	dword [eax+16]
	fstp	dword [ebx+esi*4+24]
	add	ecx,dword [ebp+16]
_448:
	add	edx,1
_7140:
	cmp	edx,edi
	jle	_450
_449:
	mov	eax,dword [ebp-8]
	jmp	_3228
_7132:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	dword [ebp+16]
	push	ebx
	push	dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,16
	jmp	_3228
_3228:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getShininess:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_7149
	fld	dword [_9220]
	jmp	_3231
_7149:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	jmp	_3231
_3231:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getSpecularColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [edi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_7155
	fld	dword [_9226]
	fstp	dword [esi+24]
	fld	dword [_9227]
	fstp	dword [esi+4+24]
	fld	dword [_9228]
	fstp	dword [esi+8+24]
	fldz
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3235
_7155:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	fld	dword [eax+8]
	fstp	dword [esi+24]
	fld	dword [eax+12]
	fstp	dword [esi+4+24]
	fld	dword [eax+16]
	fstp	dword [esi+8+24]
	fld	dword [eax+20]
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3235
_3235:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getSubmeshCount:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	edx,eax
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_7160
	cmp	ebx,dword [edx+16]
	setge	al
	movzx	eax,al
_7160:
	cmp	eax,0
	je	_7162
	push	_121
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3239
_7162:
	mov	eax,dword [edx+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	jmp	_3239
_3239:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getTextureCoordinates:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,dword [ebp+16]
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_7167
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp-4]
	cmp	edx,dword [eax+16]
	setge	al
	movzx	eax,al
_7167:
	cmp	eax,0
	je	_7169
	push	_451
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_3245
_7169:
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-8],eax
	cmp	dword [ebp+20],0
	jg	_7172
	mov	dword [ebp+20],2
_7172:
	mov	ecx,0
	mov	edx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	jmp	_7175
_454:
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp-4]
	mov	ebx,dword [ebx+esi*4+24]
	mov	esi,dword [ebx+edx*4+24]
	fld	dword [esi+8]
	fstp	dword [edi+ecx*4+24]
	mov	ebx,ecx
	add	ebx,1
	fld	dword [esi+12]
	fstp	dword [edi+ebx*4+24]
	add	ecx,dword [ebp+20]
_452:
	add	edx,1
_7175:
	cmp	edx,eax
	jle	_454
_453:
	mov	eax,dword [ebp-8]
	jmp	_3245
_3245:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getVertexCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	jmp	_3248
_3248:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getVertices:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_7180
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-8],eax
	cmp	dword [ebp+16],0
	jg	_7185
	mov	dword [ebp+16],3
_7185:
	mov	ecx,0
	mov	edx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	edi,eax
	jmp	_7188
_457:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+ecx*4+24]
	mov	esi,ecx
	add	esi,1
	fld	dword [eax+12]
	fstp	dword [ebx+esi*4+24]
	mov	esi,ecx
	add	esi,2
	fld	dword [eax+16]
	fstp	dword [ebx+esi*4+24]
	add	ecx,dword [ebp+16]
_455:
	add	edx,1
_7188:
	cmp	edx,edi
	jle	_457
_456:
	mov	eax,dword [ebp-8]
	jmp	_3253
_7180:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	dword [ebp+16]
	push	ebx
	push	dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	jmp	_3253
_3253:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getTangentSpaces:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	edx,eax
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_7196
	cmp	ebx,dword [edx+20]
	setge	al
	movzx	eax,al
_7196:
	cmp	eax,0
	jne	_7199
	mov	eax,dword [esi+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	mov	eax,eax
	cmp	eax,0
	sete	al
	movzx	eax,al
_7199:
	cmp	eax,0
	je	_7201
	push	_458
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_3259
_7201:
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_7203
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-8],eax
	cmp	dword [ebp+20],0
	jg	_7209
	mov	dword [ebp+20],4
_7209:
	mov	esi,0
	mov	edi,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_7212
_461:
	mov	eax,dword [ebp-4]
	mov	ebx,dword [eax+edi*4+24]
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+8]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+esi*4+24]
	mov	edx,esi
	add	edx,1
	fld	dword [ecx+12]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	eax,esi
	add	eax,2
	fld	dword [ecx+16]
	mov	edx,dword [ebp+16]
	fstp	dword [edx+eax*4+24]
	mov	edx,esi
	add	edx,3
	fld	dword [ebx+12]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	add	esi,dword [ebp+20]
_459:
	add	edi,1
_7212:
	cmp	edi,dword [ebp-12]
	jle	_461
_460:
	mov	eax,dword [ebp-8]
	jmp	_3259
_7203:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	ebx
	push	dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,20
	jmp	_3259
_3259:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getVerticesAndNormals:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_7219
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-16],eax
	cmp	dword [ebp+16],0
	jg	_7226
	mov	dword [ebp+16],6
_7226:
	mov	ebx,0
	mov	ecx,0
	mov	eax,dword [ebp-16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_7229
_464:
	mov	eax,dword [ebp-12]
	mov	edx,dword [eax+ecx*4+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ecx*4+24]
	fld	dword [edx+8]
	fstp	dword [edi+ebx*4+24]
	mov	esi,ebx
	add	esi,1
	fld	dword [edx+12]
	fstp	dword [edi+esi*4+24]
	mov	esi,ebx
	add	esi,2
	fld	dword [edx+16]
	fstp	dword [edi+esi*4+24]
	mov	edx,ebx
	add	edx,3
	fld	dword [eax+8]
	fstp	dword [edi+edx*4+24]
	mov	edx,ebx
	add	edx,4
	fld	dword [eax+12]
	fstp	dword [edi+edx*4+24]
	mov	edx,ebx
	add	edx,5
	fld	dword [eax+16]
	fstp	dword [edi+edx*4+24]
	add	ebx,dword [ebp+16]
_462:
	add	ecx,1
_7229:
	cmp	ecx,dword [ebp-4]
	jle	_464
_463:
	mov	eax,dword [ebp-16]
	jmp	_3264
_7219:
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	dword [ebp+16]
	push	edi
	push	dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,16
	jmp	_3264
_3264:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getVerticesNormalsAndTexCoords:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_7236
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-16],eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-20],eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	ebx,dword [eax+16]
	cmp	dword [ebp+16],0
	jge	_7245
	mov	dword [ebp+16],1
_7245:
	mov	eax,dword [ebp+16]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_7246
	mov	eax,dword [ebp+16]
	cmp	eax,ebx
	setg	al
	movzx	eax,al
_7246:
	cmp	eax,0
	je	_7248
	cmp	ebx,0
	je	_7249
	push	_465
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_3269
_7249:
_7248:
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-24],eax
	cmp	ebx,0
	jne	_7252
	mov	esi,0
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	edi,eax
	jmp	_7255
_468:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-28]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebp-20]
	mov	eax,dword [ebp-28]
	mov	ecx,dword [edx+eax*4+24]
	fld	dword [ebx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+esi*4+24]
	mov	edx,esi
	add	edx,1
	fld	dword [ebx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	eax,esi
	add	eax,2
	fld	dword [ebx+16]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+eax*4+24]
	mov	edx,esi
	add	edx,3
	fld	dword [ecx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,4
	fld	dword [ecx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,5
	fld	dword [ecx+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	eax,esi
	add	eax,6
	mov	edx,dword [ebp+16]
	shl	edx,1
	add	eax,edx
	mov	esi,eax
_466:
	add	dword [ebp-28],1
_7255:
	cmp	dword [ebp-28],edi
	jle	_468
_467:
	jmp	_7259
_7252:
	cmp	dword [ebp+16],1
	jne	_7260
	mov	esi,0
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_7261
_471:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-28]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebp-20]
	mov	eax,dword [ebp-28]
	mov	ecx,dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp-28]
	mov	edx,dword [edx+eax*4+24]
	fld	dword [ebx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+esi*4+24]
	mov	edi,esi
	add	edi,1
	fld	dword [ebx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edi*4+24]
	mov	eax,esi
	add	eax,2
	fld	dword [ebx+16]
	mov	ebx,dword [ebp+12]
	fstp	dword [ebx+eax*4+24]
	mov	ebx,esi
	add	ebx,3
	fld	dword [ecx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+ebx*4+24]
	mov	ebx,esi
	add	ebx,4
	fld	dword [ecx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+ebx*4+24]
	mov	ebx,esi
	add	ebx,5
	fld	dword [ecx+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+ebx*4+24]
	mov	ecx,esi
	add	ecx,6
	fld	dword [edx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+ecx*4+24]
	mov	ecx,esi
	add	ecx,7
	fld	dword [edx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+ecx*4+24]
	add	esi,8
_469:
	add	dword [ebp-28],1
_7261:
	mov	eax,dword [ebp-8]
	cmp	dword [ebp-28],eax
	jle	_471
_470:
	jmp	_7264
_7260:
	mov	esi,0
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_7265
_474:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-28]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebp-20]
	mov	eax,dword [ebp-28]
	mov	ecx,dword [edx+eax*4+24]
	fld	dword [ebx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+esi*4+24]
	mov	edx,esi
	add	edx,1
	fld	dword [ebx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,2
	fld	dword [ebx+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,3
	fld	dword [ecx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,4
	fld	dword [ecx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,5
	fld	dword [ecx+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	add	esi,6
	mov	ecx,0
	mov	eax,dword [ebp+16]
	sub	eax,1
	jmp	_7268
_477:
	mov	edx,dword [ebp-4]
	mov	ebx,dword [edx+ecx*4+24]
	mov	edx,dword [ebp-28]
	mov	edx,dword [ebx+edx*4+24]
	fld	dword [edx+8]
	mov	ebx,dword [ebp+12]
	fstp	dword [ebx+esi*4+24]
	mov	ebx,esi
	add	ebx,1
	fld	dword [edx+12]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+ebx*4+24]
	add	esi,2
_475:
	add	ecx,1
_7268:
	cmp	ecx,eax
	jle	_477
_476:
_472:
	add	dword [ebp-28],1
_7265:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-28],eax
	jle	_474
_473:
_7264:
_7259:
	mov	eax,dword [ebp-24]
	jmp	_3269
_7236:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	jmp	_3269
_3269:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_isTangentsEnabled:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_3273
_3273:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_selectMeshSubmesh:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	edx,eax
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_7275
	cmp	ebx,dword [edx+16]
	setge	al
	movzx	eax,al
_7275:
	cmp	eax,0
	je	_7277
	push	_121
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_3278
_7277:
	mov	eax,dword [edx+ebx*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_7282
	push	eax
	call	_bbGCFree
	add	esp,4
_7282:
	mov	dword [esi+12],ebx
	cmp	dword [esi+12],_bbNullObject
	jne	_7283
	mov	byte [ebp-4],0
	jmp	_3278
_7283:
	mov	byte [ebp-4],1
	jmp	_3278
_3278:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_setNormalization:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	movzx	eax,byte [ebp+12]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	eax,dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	movzx	edx,byte [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,8
	mov	eax,0
	jmp	_3282
_3282:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_DeltaTimer_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_DeltaTimer
	fld	dword [_9285]
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	mov	eax,0
	jmp	_3285
_3285:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_DeltaTimer_Delete:
	push	ebp
	mov	ebp,esp
_3288:
	mov	eax,0
	jmp	_7286
_7286:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_DeltaTimer_CreateDelta:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	_c3d_cal3d_DeltaTimer
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	fld	dword [ebp+8]
	fstp	dword [ebx+8]
	call	_bbMilliSecs
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [ebx+16]
	mov	eax,ebx
	jmp	_3291
_3291:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_DeltaTimer_UpdateDelta:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	call	_bbMilliSecs
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fstp	dword [ebx+12]
	fld	dword [ebx+12]
	fsub	dword [ebx+16]
	fstp	dword [ebx+20]
	fld	dword [ebx+20]
	fld	dword [_9293]
	fdiv	dword [ebx+8]
	fdivp	st1,st0
	fstp	dword [ebx+24]
	fld	dword [ebx+12]
	fstp	dword [ebx+16]
	mov	eax,0
	jmp	_3294
_3294:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_3296:
	dd	0
_479:
	db	"CalMatrix",0
_480:
	db	"dxdx",0
_481:
	db	"f",0
_482:
	db	"dydx",0
_483:
	db	"dzdx",0
_484:
	db	"dxdy",0
_485:
	db	"dydy",0
_486:
	db	"dzdy",0
_487:
	db	"dxdz",0
_488:
	db	"dydz",0
_489:
	db	"dzdz",0
_490:
	db	"New",0
_491:
	db	"()i",0
_492:
	db	"Delete",0
_493:
	db	"FromMat",0
_494:
	db	"(:CalMatrix):CalMatrix",0
_495:
	db	"assign",0
_496:
	db	"(:CalQuaternion)i",0
_497:
	db	"multMatrixLocal",0
_498:
	db	"multScalarLocal",0
_499:
	db	"(f):CalMatrix",0
_500:
	db	"blend",0
_501:
	db	"(f,:CalMatrix)i",0
_502:
	db	"det",0
_503:
	db	"()f",0
	align	4
_478:
	dd	2
	dd	_479
	dd	3
	dd	_480
	dd	_481
	dd	8
	dd	3
	dd	_482
	dd	_481
	dd	12
	dd	3
	dd	_483
	dd	_481
	dd	16
	dd	3
	dd	_484
	dd	_481
	dd	20
	dd	3
	dd	_485
	dd	_481
	dd	24
	dd	3
	dd	_486
	dd	_481
	dd	28
	dd	3
	dd	_487
	dd	_481
	dd	32
	dd	3
	dd	_488
	dd	_481
	dd	36
	dd	3
	dd	_489
	dd	_481
	dd	40
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_493
	dd	_494
	dd	48
	dd	6
	dd	_495
	dd	_496
	dd	52
	dd	6
	dd	_497
	dd	_494
	dd	56
	dd	6
	dd	_498
	dd	_499
	dd	60
	dd	6
	dd	_500
	dd	_501
	dd	64
	dd	6
	dd	_502
	dd	_503
	dd	68
	dd	0
	align	4
_c3d_cal3d_CalMatrix:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_478
	dd	44
	dd	__c3d_cal3d_CalMatrix_New
	dd	__c3d_cal3d_CalMatrix_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalMatrix_FromMat
	dd	__c3d_cal3d_CalMatrix_assign
	dd	__c3d_cal3d_CalMatrix_multMatrixLocal
	dd	__c3d_cal3d_CalMatrix_multScalarLocal
	dd	__c3d_cal3d_CalMatrix_blend
	dd	__c3d_cal3d_CalMatrix_det
_505:
	db	"CalQuaternion",0
_506:
	db	"x",0
_507:
	db	"y",0
_508:
	db	"z",0
_509:
	db	"w",0
_510:
	db	"FromQuat",0
_511:
	db	"(:CalQuaternion):CalQuaternion",0
_512:
	db	"FromCoords",0
_513:
	db	"(f,f,f,f):CalQuaternion",0
_514:
	db	"multQuaternionLocal",0
_515:
	db	"multVectorLocal",0
_516:
	db	"(:CalVector):CalQuaternion",0
_517:
	db	"equalTo",0
_518:
	db	"(:CalQuaternion)b",0
_519:
	db	"(f,:CalQuaternion)i",0
_520:
	db	"clear",0
_521:
	db	"conjugate",0
_522:
	db	"invert",0
	align	4
_504:
	dd	2
	dd	_505
	dd	3
	dd	_506
	dd	_481
	dd	8
	dd	3
	dd	_507
	dd	_481
	dd	12
	dd	3
	dd	_508
	dd	_481
	dd	16
	dd	3
	dd	_509
	dd	_481
	dd	20
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_510
	dd	_511
	dd	48
	dd	7
	dd	_512
	dd	_513
	dd	52
	dd	6
	dd	_495
	dd	_496
	dd	56
	dd	6
	dd	_514
	dd	_511
	dd	60
	dd	6
	dd	_515
	dd	_516
	dd	64
	dd	6
	dd	_517
	dd	_518
	dd	68
	dd	6
	dd	_500
	dd	_519
	dd	72
	dd	6
	dd	_520
	dd	_491
	dd	76
	dd	6
	dd	_521
	dd	_491
	dd	80
	dd	6
	dd	_522
	dd	_491
	dd	84
	dd	0
	align	4
_c3d_cal3d_CalQuaternion:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_504
	dd	24
	dd	__c3d_cal3d_CalQuaternion_New
	dd	__c3d_cal3d_CalQuaternion_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalQuaternion_FromQuat
	dd	__c3d_cal3d_CalQuaternion_FromCoords
	dd	__c3d_cal3d_CalQuaternion_assign
	dd	__c3d_cal3d_CalQuaternion_multQuaternionLocal
	dd	__c3d_cal3d_CalQuaternion_multVectorLocal
	dd	__c3d_cal3d_CalQuaternion_equalTo
	dd	__c3d_cal3d_CalQuaternion_blend
	dd	__c3d_cal3d_CalQuaternion_clear
	dd	__c3d_cal3d_CalQuaternion_conjugate
	dd	__c3d_cal3d_CalQuaternion_invert
_524:
	db	"CalVector",0
_525:
	db	"FromVector",0
_526:
	db	"(:CalVector):CalVector",0
_527:
	db	"(f,f,f):CalVector",0
_528:
	db	"(:CalVertex)i",0
_529:
	db	"assigncoords",0
_530:
	db	"(f,f,f)i",0
_531:
	db	"assignvector",0
_532:
	db	"(:CalVector)i",0
_533:
	db	"addLocal",0
_534:
	db	"subLocal",0
_535:
	db	"(f):CalVector",0
_536:
	db	"(:CalQuaternion):CalVector",0
_537:
	db	"(:CalMatrix):CalVector",0
_538:
	db	"(f,:CalVector)i",0
_539:
	db	"divScalarLocal",0
_540:
	db	"(:CalVector)b",0
_541:
	db	"length",0
_542:
	db	"normalize",0
	align	4
_523:
	dd	2
	dd	_524
	dd	3
	dd	_506
	dd	_481
	dd	8
	dd	3
	dd	_507
	dd	_481
	dd	12
	dd	3
	dd	_508
	dd	_481
	dd	16
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_525
	dd	_526
	dd	48
	dd	7
	dd	_512
	dd	_527
	dd	52
	dd	6
	dd	_495
	dd	_528
	dd	56
	dd	6
	dd	_529
	dd	_530
	dd	60
	dd	6
	dd	_531
	dd	_532
	dd	64
	dd	6
	dd	_533
	dd	_526
	dd	68
	dd	6
	dd	_534
	dd	_526
	dd	72
	dd	6
	dd	_498
	dd	_535
	dd	76
	dd	6
	dd	_514
	dd	_536
	dd	80
	dd	6
	dd	_497
	dd	_537
	dd	84
	dd	6
	dd	_500
	dd	_538
	dd	88
	dd	6
	dd	_539
	dd	_535
	dd	92
	dd	6
	dd	_517
	dd	_540
	dd	96
	dd	6
	dd	_520
	dd	_491
	dd	100
	dd	6
	dd	_541
	dd	_503
	dd	104
	dd	6
	dd	_542
	dd	_503
	dd	108
	dd	0
	align	4
_c3d_cal3d_CalVector:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_523
	dd	20
	dd	__c3d_cal3d_CalVector_New
	dd	__c3d_cal3d_CalVector_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalVector_FromVector
	dd	__c3d_cal3d_CalVector_FromCoords
	dd	__c3d_cal3d_CalVector_assign
	dd	__c3d_cal3d_CalVector_assigncoords
	dd	__c3d_cal3d_CalVector_assignvector
	dd	__c3d_cal3d_CalVector_addLocal
	dd	__c3d_cal3d_CalVector_subLocal
	dd	__c3d_cal3d_CalVector_multScalarLocal
	dd	__c3d_cal3d_CalVector_multQuaternionLocal
	dd	__c3d_cal3d_CalVector_multMatrixLocal
	dd	__c3d_cal3d_CalVector_blend
	dd	__c3d_cal3d_CalVector_divScalarLocal
	dd	__c3d_cal3d_CalVector_equalTo
	dd	__c3d_cal3d_CalVector_clear
	dd	__c3d_cal3d_CalVector_length
	dd	__c3d_cal3d_CalVector_normalize
_544:
	db	"CalTextureCoordinate",0
_545:
	db	"u",0
_546:
	db	"v",0
_547:
	db	"FromUV",0
_548:
	db	"(:CalTextureCoordinate):CalTextureCoordinate",0
_549:
	db	"(f,f):CalTextureCoordinate",0
	align	4
_543:
	dd	2
	dd	_544
	dd	3
	dd	_545
	dd	_481
	dd	8
	dd	3
	dd	_546
	dd	_481
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_547
	dd	_548
	dd	48
	dd	7
	dd	_512
	dd	_549
	dd	52
	dd	0
	align	4
_c3d_cal3d_CalTextureCoordinate:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_543
	dd	16
	dd	__c3d_cal3d_CalTextureCoordinate_New
	dd	__c3d_cal3d_CalTextureCoordinate_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalTextureCoordinate_FromUV
	dd	__c3d_cal3d_CalTextureCoordinate_FromCoords
_551:
	db	"CalTangentSpace",0
_552:
	db	"tangent",0
_553:
	db	":CalVector",0
_554:
	db	"crossFactor",0
_555:
	db	"(:CalVector,f):CalTangentSpace",0
_556:
	db	"(f,f,f,f):CalTangentSpace",0
	align	4
_550:
	dd	2
	dd	_551
	dd	3
	dd	_552
	dd	_553
	dd	8
	dd	3
	dd	_554
	dd	_481
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_525
	dd	_555
	dd	48
	dd	7
	dd	_512
	dd	_556
	dd	52
	dd	0
	align	4
_c3d_cal3d_CalTangentSpace:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_550
	dd	16
	dd	__c3d_cal3d_CalTangentSpace_New
	dd	__c3d_cal3d_CalTangentSpace_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalTangentSpace_FromVector
	dd	__c3d_cal3d_CalTangentSpace_FromCoords
_558:
	db	"CalInfluence",0
_559:
	db	"boneId",0
_560:
	db	"i",0
_561:
	db	"weight",0
_562:
	db	"(i,f):CalInfluence",0
	align	4
_557:
	dd	2
	dd	_558
	dd	3
	dd	_559
	dd	_560
	dd	8
	dd	3
	dd	_561
	dd	_481
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_512
	dd	_562
	dd	48
	dd	0
	align	4
_c3d_cal3d_CalInfluence:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_557
	dd	16
	dd	__c3d_cal3d_CalInfluence_New
	dd	__c3d_cal3d_CalInfluence_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalInfluence_FromCoords
_564:
	db	"CalPhysicalProperty",0
_565:
	db	"position",0
_566:
	db	"positionOld",0
_567:
	db	"force",0
_568:
	db	"FromWeight",0
_569:
	db	"(f):CalPhysicalProperty",0
_570:
	db	"(:CalVector,:CalVector,:CalVector,f):CalPhysicalProperty",0
	align	4
_563:
	dd	2
	dd	_564
	dd	3
	dd	_561
	dd	_481
	dd	8
	dd	3
	dd	_565
	dd	_553
	dd	12
	dd	3
	dd	_566
	dd	_553
	dd	16
	dd	3
	dd	_567
	dd	_553
	dd	20
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_568
	dd	_569
	dd	48
	dd	7
	dd	_512
	dd	_570
	dd	52
	dd	0
	align	4
_c3d_cal3d_CalPhysicalProperty:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_563
	dd	24
	dd	__c3d_cal3d_CalPhysicalProperty_New
	dd	__c3d_cal3d_CalPhysicalProperty_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalPhysicalProperty_FromWeight
	dd	__c3d_cal3d_CalPhysicalProperty_FromCoords
_572:
	db	"CalVertex",0
_573:
	db	"normal",0
_574:
	db	"vectorInfluence",0
_575:
	db	"[]:CalInfluence",0
_576:
	db	"collapseId",0
_577:
	db	"faceCollapseCount",0
_578:
	db	"(:CalVector,:CalVector):CalVertex",0
_579:
	db	"FromData",0
_580:
	db	"(:CalVector,:CalVector,[]:CalInfluence,i,i):CalVertex",0
_581:
	db	"assignVector",0
	align	4
_571:
	dd	2
	dd	_572
	dd	3
	dd	_565
	dd	_553
	dd	8
	dd	3
	dd	_573
	dd	_553
	dd	12
	dd	3
	dd	_574
	dd	_575
	dd	16
	dd	3
	dd	_576
	dd	_560
	dd	20
	dd	3
	dd	_577
	dd	_560
	dd	24
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_525
	dd	_578
	dd	48
	dd	7
	dd	_579
	dd	_580
	dd	52
	dd	6
	dd	_495
	dd	_530
	dd	56
	dd	6
	dd	_581
	dd	_532
	dd	60
	dd	0
	align	4
_c3d_cal3d_CalVertex:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_571
	dd	28
	dd	__c3d_cal3d_CalVertex_New
	dd	__c3d_cal3d_CalVertex_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalVertex_FromVector
	dd	__c3d_cal3d_CalVertex_FromData
	dd	__c3d_cal3d_CalVertex_assign
	dd	__c3d_cal3d_CalVertex_assignVector
_583:
	db	"CalFace",0
_584:
	db	"vertexId",0
_585:
	db	"[]i",0
_586:
	db	"(i,i,i):CalFace",0
_587:
	db	"FromFace",0
_588:
	db	"(:CalFace):CalFace",0
_589:
	db	"FromArr",0
_590:
	db	"([]i):CalFace",0
	align	4
_582:
	dd	2
	dd	_583
	dd	3
	dd	_584
	dd	_585
	dd	8
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_512
	dd	_586
	dd	48
	dd	7
	dd	_587
	dd	_588
	dd	52
	dd	7
	dd	_589
	dd	_590
	dd	56
	dd	0
	align	4
_c3d_cal3d_CalFace:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_582
	dd	12
	dd	__c3d_cal3d_CalFace_New
	dd	__c3d_cal3d_CalFace_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalFace_FromCoords
	dd	__c3d_cal3d_CalFace_FromFace
	dd	__c3d_cal3d_CalFace_FromArr
_592:
	db	"CalSpring",0
_593:
	db	"springCoefficient",0
_594:
	db	"idleLength",0
_595:
	db	"(i,i,f,f):CalSpring",0
_596:
	db	"([]i,f,f):CalSpring",0
	align	4
_591:
	dd	2
	dd	_592
	dd	3
	dd	_584
	dd	_585
	dd	8
	dd	3
	dd	_593
	dd	_481
	dd	12
	dd	3
	dd	_594
	dd	_481
	dd	16
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_512
	dd	_595
	dd	48
	dd	7
	dd	_589
	dd	_596
	dd	52
	dd	0
	align	4
_c3d_cal3d_CalSpring:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_591
	dd	20
	dd	__c3d_cal3d_CalSpring_New
	dd	__c3d_cal3d_CalSpring_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalSpring_FromCoords
	dd	__c3d_cal3d_CalSpring_FromArr
_598:
	db	"CalPlane",0
_599:
	db	"a",0
_600:
	db	"b",0
_601:
	db	"c",0
_602:
	db	"d",0
_603:
	db	"eval",0
_604:
	db	"(:CalVector)f",0
_605:
	db	"setPosition",0
_606:
	db	"setNormal",0
_607:
	db	"dist",0
	align	4
_597:
	dd	2
	dd	_598
	dd	3
	dd	_599
	dd	_481
	dd	8
	dd	3
	dd	_600
	dd	_481
	dd	12
	dd	3
	dd	_601
	dd	_481
	dd	16
	dd	3
	dd	_602
	dd	_481
	dd	20
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_603
	dd	_604
	dd	48
	dd	6
	dd	_605
	dd	_532
	dd	52
	dd	6
	dd	_606
	dd	_532
	dd	56
	dd	6
	dd	_607
	dd	_604
	dd	60
	dd	0
	align	4
_c3d_cal3d_CalPlane:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_597
	dd	24
	dd	__c3d_cal3d_CalPlane_New
	dd	__c3d_cal3d_CalPlane_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalPlane_eval
	dd	__c3d_cal3d_CalPlane_setPosition
	dd	__c3d_cal3d_CalPlane_setNormal
	dd	__c3d_cal3d_CalPlane_dist
_609:
	db	"CalBoundingBox",0
_610:
	db	"plane",0
_611:
	db	"[]:CalPlane",0
_612:
	db	"computePoints",0
_613:
	db	"([]:CalVector)[]:CalVector",0
	align	4
_608:
	dd	2
	dd	_609
	dd	3
	dd	_610
	dd	_611
	dd	8
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_612
	dd	_613
	dd	48
	dd	0
	align	4
_c3d_cal3d_CalBoundingBox:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_608
	dd	12
	dd	__c3d_cal3d_CalBoundingBox_New
	dd	__c3d_cal3d_CalBoundingBox_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalBoundingBox_computePoints
_615:
	db	"StringMap",0
_616:
	db	"smap",0
_617:
	db	"[]:StringNode",0
_618:
	db	"Set",0
_619:
	db	"($,$)i",0
_620:
	db	"Add",0
_621:
	db	"Contains",0
_622:
	db	"($)b",0
_623:
	db	"Get",0
_624:
	db	"($)$",0
	align	4
_614:
	dd	2
	dd	_615
	dd	3
	dd	_616
	dd	_617
	dd	8
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_618
	dd	_619
	dd	48
	dd	6
	dd	_620
	dd	_619
	dd	52
	dd	6
	dd	_621
	dd	_622
	dd	56
	dd	6
	dd	_623
	dd	_624
	dd	60
	dd	0
	align	4
_c3d_cal3d_StringMap:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_614
	dd	12
	dd	__c3d_cal3d_StringMap_New
	dd	__c3d_cal3d_StringMap_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_StringMap_Set
	dd	__c3d_cal3d_StringMap_Add
	dd	__c3d_cal3d_StringMap_Contains
	dd	__c3d_cal3d_StringMap_Get
_626:
	db	"StringNode",0
_627:
	db	"key",0
_628:
	db	"$",0
_629:
	db	"value",0
_630:
	db	"($,$):StringNode",0
	align	4
_625:
	dd	2
	dd	_626
	dd	3
	dd	_627
	dd	_628
	dd	8
	dd	3
	dd	_629
	dd	_628
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_579
	dd	_630
	dd	48
	dd	0
	align	4
_c3d_cal3d_StringNode:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_625
	dd	16
	dd	__c3d_cal3d_StringNode_New
	dd	__c3d_cal3d_StringNode_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_StringNode_FromData
_632:
	db	"IntMap",0
_633:
	db	"[]:IntNode",0
_634:
	db	"(i,:Object)i",0
_635:
	db	"(i)b",0
_636:
	db	"(i):Object",0
	align	4
_631:
	dd	2
	dd	_632
	dd	3
	dd	_616
	dd	_633
	dd	8
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_618
	dd	_634
	dd	48
	dd	6
	dd	_620
	dd	_634
	dd	52
	dd	6
	dd	_621
	dd	_635
	dd	56
	dd	6
	dd	_623
	dd	_636
	dd	60
	dd	0
	align	4
_c3d_cal3d_IntMap:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_631
	dd	12
	dd	__c3d_cal3d_IntMap_New
	dd	__c3d_cal3d_IntMap_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_IntMap_Set
	dd	__c3d_cal3d_IntMap_Add
	dd	__c3d_cal3d_IntMap_Contains
	dd	__c3d_cal3d_IntMap_Get
_638:
	db	"IntNode",0
_639:
	db	":Object",0
_640:
	db	"(i,:Object):IntNode",0
	align	4
_637:
	dd	2
	dd	_638
	dd	3
	dd	_627
	dd	_560
	dd	8
	dd	3
	dd	_629
	dd	_639
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_579
	dd	_640
	dd	48
	dd	0
	align	4
_c3d_cal3d_IntNode:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_637
	dd	16
	dd	__c3d_cal3d_IntNode_New
	dd	__c3d_cal3d_IntNode_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_IntNode_FromData
_642:
	db	"CalCoreMaterial",0
_643:
	db	"m_ambientColor",0
_644:
	db	":CalColor",0
_645:
	db	"m_diffuseColor",0
_646:
	db	"m_specularColor",0
_647:
	db	"m_shininess",0
_648:
	db	"m_vectorMap",0
_649:
	db	"[]:CalMap",0
_650:
	db	"m_userData",0
_651:
	db	"m_name",0
_652:
	db	"m_filename",0
_653:
	db	"getAmbientColor",0
_654:
	db	"():CalColor",0
_655:
	db	"getDiffuseColor",0
_656:
	db	"getMapCount",0
_657:
	db	"getMapFilename",0
_658:
	db	"(i)$",0
_659:
	db	"getMapUserData",0
_660:
	db	"getShininess",0
_661:
	db	"getSpecularColor",0
_662:
	db	"getUserData",0
_663:
	db	"():Object",0
_664:
	db	"getVectorMap",0
_665:
	db	"()[]:CalMap",0
_666:
	db	"getFilename",0
_667:
	db	"()$",0
_668:
	db	"getName",0
_669:
	db	"reserve",0
_670:
	db	"setAmbientColor",0
_671:
	db	"(:CalColor)i",0
_672:
	db	"setDiffuseColor",0
_673:
	db	"setMap",0
_674:
	db	"(i,:CalMap)b",0
_675:
	db	"setMapUserData",0
_676:
	db	"(i,:Object)b",0
_677:
	db	"setShininess",0
_678:
	db	"(f)i",0
_679:
	db	"setSpecularColor",0
_680:
	db	"setFilename",0
_681:
	db	"($)i",0
_682:
	db	"setName",0
_683:
	db	"setUserData",0
_684:
	db	"(:Object)i",0
	align	4
_641:
	dd	2
	dd	_642
	dd	3
	dd	_643
	dd	_644
	dd	8
	dd	3
	dd	_645
	dd	_644
	dd	12
	dd	3
	dd	_646
	dd	_644
	dd	16
	dd	3
	dd	_647
	dd	_481
	dd	20
	dd	3
	dd	_648
	dd	_649
	dd	24
	dd	3
	dd	_650
	dd	_639
	dd	28
	dd	3
	dd	_651
	dd	_628
	dd	32
	dd	3
	dd	_652
	dd	_628
	dd	36
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_653
	dd	_654
	dd	48
	dd	6
	dd	_655
	dd	_654
	dd	52
	dd	6
	dd	_656
	dd	_491
	dd	56
	dd	6
	dd	_657
	dd	_658
	dd	60
	dd	6
	dd	_659
	dd	_636
	dd	64
	dd	6
	dd	_660
	dd	_503
	dd	68
	dd	6
	dd	_661
	dd	_654
	dd	72
	dd	6
	dd	_662
	dd	_663
	dd	76
	dd	6
	dd	_664
	dd	_665
	dd	80
	dd	6
	dd	_666
	dd	_667
	dd	84
	dd	6
	dd	_668
	dd	_667
	dd	88
	dd	6
	dd	_669
	dd	_635
	dd	92
	dd	6
	dd	_670
	dd	_671
	dd	96
	dd	6
	dd	_672
	dd	_671
	dd	100
	dd	6
	dd	_673
	dd	_674
	dd	104
	dd	6
	dd	_675
	dd	_676
	dd	108
	dd	6
	dd	_677
	dd	_678
	dd	112
	dd	6
	dd	_679
	dd	_671
	dd	116
	dd	6
	dd	_680
	dd	_681
	dd	120
	dd	6
	dd	_682
	dd	_681
	dd	124
	dd	6
	dd	_683
	dd	_684
	dd	128
	dd	0
	align	4
_c3d_cal3d_CalCoreMaterial:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_641
	dd	40
	dd	__c3d_cal3d_CalCoreMaterial_New
	dd	__c3d_cal3d_CalCoreMaterial_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreMaterial_getAmbientColor
	dd	__c3d_cal3d_CalCoreMaterial_getDiffuseColor
	dd	__c3d_cal3d_CalCoreMaterial_getMapCount
	dd	__c3d_cal3d_CalCoreMaterial_getMapFilename
	dd	__c3d_cal3d_CalCoreMaterial_getMapUserData
	dd	__c3d_cal3d_CalCoreMaterial_getShininess
	dd	__c3d_cal3d_CalCoreMaterial_getSpecularColor
	dd	__c3d_cal3d_CalCoreMaterial_getUserData
	dd	__c3d_cal3d_CalCoreMaterial_getVectorMap
	dd	__c3d_cal3d_CalCoreMaterial_getFilename
	dd	__c3d_cal3d_CalCoreMaterial_getName
	dd	__c3d_cal3d_CalCoreMaterial_reserve
	dd	__c3d_cal3d_CalCoreMaterial_setAmbientColor
	dd	__c3d_cal3d_CalCoreMaterial_setDiffuseColor
	dd	__c3d_cal3d_CalCoreMaterial_setMap
	dd	__c3d_cal3d_CalCoreMaterial_setMapUserData
	dd	__c3d_cal3d_CalCoreMaterial_setShininess
	dd	__c3d_cal3d_CalCoreMaterial_setSpecularColor
	dd	__c3d_cal3d_CalCoreMaterial_setFilename
	dd	__c3d_cal3d_CalCoreMaterial_setName
	dd	__c3d_cal3d_CalCoreMaterial_setUserData
_686:
	db	"CalColor",0
_687:
	db	"red",0
_688:
	db	"green",0
_689:
	db	"blue",0
_690:
	db	"alpha",0
_691:
	db	"FromColor",0
_692:
	db	"(:CalColor):CalColor",0
_693:
	db	"FromValues",0
_694:
	db	"(f,f,f,f):CalColor",0
	align	4
_685:
	dd	2
	dd	_686
	dd	3
	dd	_687
	dd	_481
	dd	8
	dd	3
	dd	_688
	dd	_481
	dd	12
	dd	3
	dd	_689
	dd	_481
	dd	16
	dd	3
	dd	_690
	dd	_481
	dd	20
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_691
	dd	_692
	dd	48
	dd	7
	dd	_693
	dd	_694
	dd	52
	dd	0
	align	4
_c3d_cal3d_CalColor:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_685
	dd	24
	dd	__c3d_cal3d_CalColor_New
	dd	__c3d_cal3d_CalColor_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalColor_FromColor
	dd	__c3d_cal3d_CalColor_FromValues
_696:
	db	"CalMap",0
_697:
	db	"filename",0
_698:
	db	"userData",0
	align	4
_695:
	dd	2
	dd	_696
	dd	3
	dd	_697
	dd	_628
	dd	8
	dd	3
	dd	_698
	dd	_639
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	0
	align	4
_c3d_cal3d_CalMap:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_695
	dd	16
	dd	__c3d_cal3d_CalMap_New
	dd	__c3d_cal3d_CalMap_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_700:
	db	"CalCoreSubmesh",0
_701:
	db	"m_vectorVertex",0
_702:
	db	"[]:CalVertex",0
_703:
	db	"m_vectorTangentsEnabled",0
_704:
	db	"[]b",0
_705:
	db	"m_vectorvectorTangentSpace",0
_706:
	db	"[][]:CalTangentSpace",0
_707:
	db	"m_vectorvectorTangentSpacelocal",0
_708:
	db	"m_vectorvectorTextureCoordinate",0
_709:
	db	"[][]:CalTextureCoordinate",0
_710:
	db	"m_vectorPhysicalProperty",0
_711:
	db	"[]:CalPhysicalProperty",0
_712:
	db	"m_vectorFace",0
_713:
	db	"[]:CalFace",0
_714:
	db	"m_vectorSpring",0
_715:
	db	"[]:CalSpring",0
_716:
	db	"m_vectorCoreSubMorphTarget",0
_717:
	db	"[]:CalCoreSubMorphTarget",0
_718:
	db	"m_coreMaterialThreadId",0
_719:
	db	"m_lodCount",0
_720:
	db	"getCoreMaterialThreadId",0
_721:
	db	"getFaceCount",0
_722:
	db	"getLodCount",0
_723:
	db	"getSpringCount",0
_724:
	db	"getVectorFace",0
_725:
	db	"()[]:CalFace",0
_726:
	db	"getVectorPhysicalProperty",0
_727:
	db	"()[]:CalPhysicalProperty",0
_728:
	db	"getVectorSpring",0
_729:
	db	"()[]:CalSpring",0
_730:
	db	"getVectorVectorTangentSpace",0
_731:
	db	"()[][]:CalTangentSpace",0
_732:
	db	"getVectorVectorTextureCoordinate",0
_733:
	db	"()[][]:CalTextureCoordinate",0
_734:
	db	"getVectorVertex",0
_735:
	db	"()[]:CalVertex",0
_736:
	db	"getVertexCount",0
_737:
	db	"isTangentsEnabled",0
_738:
	db	"enableTangents",0
_739:
	db	"(i,b)b",0
_740:
	db	"(i,i,i,i)b",0
_741:
	db	"setCoreMaterialThreadId",0
_742:
	db	"(i)i",0
_743:
	db	"setFace",0
_744:
	db	"(i,:CalFace)b",0
_745:
	db	"setLodCount",0
_746:
	db	"setPhysicalProperty",0
_747:
	db	"(i,:CalPhysicalProperty)b",0
_748:
	db	"setSpring",0
_749:
	db	"(i,:CalSpring)b",0
_750:
	db	"setTangentSpace",0
_751:
	db	"(i,i,:CalVector,f)b",0
_752:
	db	"setTextureCoordinate",0
_753:
	db	"(i,i,:CalTextureCoordinate)b",0
_754:
	db	"setVertex",0
_755:
	db	"(i,:CalVertex)b",0
_756:
	db	"addCoreSubMorphTarget",0
_757:
	db	"(:CalCoreSubMorphTarget)i",0
_758:
	db	"getCoreSubMorphTarget",0
_759:
	db	"(i):CalCoreSubMorphTarget",0
_760:
	db	"getCoreSubMorphTargetCount",0
_761:
	db	"getVectorCoreSubMorphTarget",0
_762:
	db	"()[]:CalCoreSubMorphTarget",0
_763:
	db	"scale",0
_764:
	db	"UpdateTangentVector",0
_765:
	db	"(i,i,i,i)i",0
	align	4
_699:
	dd	2
	dd	_700
	dd	3
	dd	_701
	dd	_702
	dd	8
	dd	3
	dd	_703
	dd	_704
	dd	12
	dd	3
	dd	_705
	dd	_706
	dd	16
	dd	3
	dd	_707
	dd	_706
	dd	20
	dd	3
	dd	_708
	dd	_709
	dd	24
	dd	3
	dd	_710
	dd	_711
	dd	28
	dd	3
	dd	_712
	dd	_713
	dd	32
	dd	3
	dd	_714
	dd	_715
	dd	36
	dd	3
	dd	_716
	dd	_717
	dd	40
	dd	3
	dd	_718
	dd	_560
	dd	44
	dd	3
	dd	_719
	dd	_560
	dd	48
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_720
	dd	_491
	dd	48
	dd	6
	dd	_721
	dd	_491
	dd	52
	dd	6
	dd	_722
	dd	_491
	dd	56
	dd	6
	dd	_723
	dd	_491
	dd	60
	dd	6
	dd	_724
	dd	_725
	dd	64
	dd	6
	dd	_726
	dd	_727
	dd	68
	dd	6
	dd	_728
	dd	_729
	dd	72
	dd	6
	dd	_730
	dd	_731
	dd	76
	dd	6
	dd	_732
	dd	_733
	dd	80
	dd	6
	dd	_734
	dd	_735
	dd	84
	dd	6
	dd	_736
	dd	_491
	dd	88
	dd	6
	dd	_737
	dd	_635
	dd	92
	dd	6
	dd	_738
	dd	_739
	dd	96
	dd	6
	dd	_669
	dd	_740
	dd	100
	dd	6
	dd	_741
	dd	_742
	dd	104
	dd	6
	dd	_743
	dd	_744
	dd	108
	dd	6
	dd	_745
	dd	_742
	dd	112
	dd	6
	dd	_746
	dd	_747
	dd	116
	dd	6
	dd	_748
	dd	_749
	dd	120
	dd	6
	dd	_750
	dd	_751
	dd	124
	dd	6
	dd	_752
	dd	_753
	dd	128
	dd	6
	dd	_754
	dd	_755
	dd	132
	dd	6
	dd	_756
	dd	_757
	dd	136
	dd	6
	dd	_758
	dd	_759
	dd	140
	dd	6
	dd	_760
	dd	_491
	dd	144
	dd	6
	dd	_761
	dd	_762
	dd	148
	dd	6
	dd	_763
	dd	_678
	dd	152
	dd	6
	dd	_764
	dd	_765
	dd	156
	dd	0
	align	4
_c3d_cal3d_CalCoreSubmesh:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_699
	dd	52
	dd	__c3d_cal3d_CalCoreSubmesh_New
	dd	__c3d_cal3d_CalCoreSubmesh_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreSubmesh_getCoreMaterialThreadId
	dd	__c3d_cal3d_CalCoreSubmesh_getFaceCount
	dd	__c3d_cal3d_CalCoreSubmesh_getLodCount
	dd	__c3d_cal3d_CalCoreSubmesh_getSpringCount
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorFace
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorPhysicalProperty
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorSpring
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorVectorTangentSpace
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorVectorTextureCoordinate
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorVertex
	dd	__c3d_cal3d_CalCoreSubmesh_getVertexCount
	dd	__c3d_cal3d_CalCoreSubmesh_isTangentsEnabled
	dd	__c3d_cal3d_CalCoreSubmesh_enableTangents
	dd	__c3d_cal3d_CalCoreSubmesh_reserve
	dd	__c3d_cal3d_CalCoreSubmesh_setCoreMaterialThreadId
	dd	__c3d_cal3d_CalCoreSubmesh_setFace
	dd	__c3d_cal3d_CalCoreSubmesh_setLodCount
	dd	__c3d_cal3d_CalCoreSubmesh_setPhysicalProperty
	dd	__c3d_cal3d_CalCoreSubmesh_setSpring
	dd	__c3d_cal3d_CalCoreSubmesh_setTangentSpace
	dd	__c3d_cal3d_CalCoreSubmesh_setTextureCoordinate
	dd	__c3d_cal3d_CalCoreSubmesh_setVertex
	dd	__c3d_cal3d_CalCoreSubmesh_addCoreSubMorphTarget
	dd	__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTarget
	dd	__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTargetCount
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorCoreSubMorphTarget
	dd	__c3d_cal3d_CalCoreSubmesh_scale
	dd	__c3d_cal3d_CalCoreSubmesh_UpdateTangentVector
_767:
	db	"CalCoreMesh",0
_768:
	db	"m_vectorCoreSubmesh",0
_769:
	db	"[]:CalCoreSubmesh",0
_770:
	db	"addCoreSubmesh",0
_771:
	db	"(:CalCoreSubmesh)i",0
_772:
	db	"getCoreSubmesh",0
_773:
	db	"(i):CalCoreSubmesh",0
_774:
	db	"getCoreSubmeshCount",0
_775:
	db	"getVectorCoreSubmesh",0
_776:
	db	"()[]:CalCoreSubmesh",0
_777:
	db	"addAsMorphTarget",0
_778:
	db	"(:CalCoreMesh)i",0
	align	4
_766:
	dd	2
	dd	_767
	dd	3
	dd	_768
	dd	_769
	dd	8
	dd	3
	dd	_651
	dd	_628
	dd	12
	dd	3
	dd	_652
	dd	_628
	dd	16
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_770
	dd	_771
	dd	48
	dd	6
	dd	_772
	dd	_773
	dd	52
	dd	6
	dd	_774
	dd	_491
	dd	56
	dd	6
	dd	_775
	dd	_776
	dd	60
	dd	6
	dd	_777
	dd	_778
	dd	64
	dd	6
	dd	_763
	dd	_678
	dd	68
	dd	6
	dd	_680
	dd	_681
	dd	72
	dd	6
	dd	_666
	dd	_667
	dd	76
	dd	6
	dd	_682
	dd	_681
	dd	80
	dd	6
	dd	_668
	dd	_667
	dd	84
	dd	0
	align	4
_c3d_cal3d_CalCoreMesh:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_766
	dd	20
	dd	__c3d_cal3d_CalCoreMesh_New
	dd	__c3d_cal3d_CalCoreMesh_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreMesh_addCoreSubmesh
	dd	__c3d_cal3d_CalCoreMesh_getCoreSubmesh
	dd	__c3d_cal3d_CalCoreMesh_getCoreSubmeshCount
	dd	__c3d_cal3d_CalCoreMesh_getVectorCoreSubmesh
	dd	__c3d_cal3d_CalCoreMesh_addAsMorphTarget
	dd	__c3d_cal3d_CalCoreMesh_scale
	dd	__c3d_cal3d_CalCoreMesh_setFilename
	dd	__c3d_cal3d_CalCoreMesh_getFilename
	dd	__c3d_cal3d_CalCoreMesh_setName
	dd	__c3d_cal3d_CalCoreMesh_getName
_780:
	db	"CalCoreBone",0
_781:
	db	"m_coreSkeleton",0
_782:
	db	":CalCoreSkeleton",0
_783:
	db	"m_parentId",0
_784:
	db	"m_listChildId",0
_785:
	db	"m_translation",0
_786:
	db	"m_rotation",0
_787:
	db	":CalQuaternion",0
_788:
	db	"m_translationAbsolute",0
_789:
	db	"m_rotationAbsolute",0
_790:
	db	"m_translationBoneSpace",0
_791:
	db	"m_rotationBoneSpace",0
_792:
	db	"m_boundingBox",0
_793:
	db	":CalBoundingBox",0
_794:
	db	"m_boundingPosition",0
_795:
	db	"[]:CalVector",0
_796:
	db	"m_boundingBoxPrecomputed",0
_797:
	db	"addChildId",0
_798:
	db	"calculateState",0
_799:
	db	"getListChildId",0
_800:
	db	"()[]i",0
_801:
	db	"getParentId",0
_802:
	db	"getCoreSkeleton",0
_803:
	db	"():CalCoreSkeleton",0
_804:
	db	"GetRotation",0
_805:
	db	"():CalQuaternion",0
_806:
	db	"getRotationAbsolute",0
_807:
	db	"getRotationBoneSpace",0
_808:
	db	"getTranslation",0
_809:
	db	"():CalVector",0
_810:
	db	"getTranslationAbsolute",0
_811:
	db	"getTranslationBoneSpace",0
_812:
	db	"setCoreSkeleton",0
_813:
	db	"(:CalCoreSkeleton)i",0
_814:
	db	"setParentId",0
_815:
	db	"SetRotation",0
_816:
	db	"setRotationBoneSpace",0
_817:
	db	"setTranslation",0
_818:
	db	"setTranslationBoneSpace",0
_819:
	db	"calculateBoundingBox",0
_820:
	db	"(:CalCoreModel)i",0
_821:
	db	"getBoundingBox",0
_822:
	db	"():CalBoundingBox",0
_823:
	db	"getBoundingData",0
_824:
	db	"(i,:CalVector):CalVector",0
_825:
	db	"isBoundingBoxPrecomputed",0
_826:
	db	"()b",0
	align	4
_779:
	dd	2
	dd	_780
	dd	3
	dd	_651
	dd	_628
	dd	8
	dd	3
	dd	_781
	dd	_782
	dd	12
	dd	3
	dd	_783
	dd	_560
	dd	16
	dd	3
	dd	_784
	dd	_585
	dd	20
	dd	3
	dd	_785
	dd	_553
	dd	24
	dd	3
	dd	_786
	dd	_787
	dd	28
	dd	3
	dd	_788
	dd	_553
	dd	32
	dd	3
	dd	_789
	dd	_787
	dd	36
	dd	3
	dd	_790
	dd	_553
	dd	40
	dd	3
	dd	_791
	dd	_787
	dd	44
	dd	3
	dd	_650
	dd	_639
	dd	48
	dd	3
	dd	_792
	dd	_793
	dd	52
	dd	3
	dd	_794
	dd	_795
	dd	56
	dd	3
	dd	_796
	dd	_600
	dd	60
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_797
	dd	_635
	dd	48
	dd	6
	dd	_798
	dd	_491
	dd	52
	dd	6
	dd	_799
	dd	_800
	dd	56
	dd	6
	dd	_668
	dd	_667
	dd	60
	dd	6
	dd	_801
	dd	_491
	dd	64
	dd	6
	dd	_802
	dd	_803
	dd	68
	dd	6
	dd	_804
	dd	_805
	dd	72
	dd	6
	dd	_806
	dd	_805
	dd	76
	dd	6
	dd	_807
	dd	_805
	dd	80
	dd	6
	dd	_808
	dd	_809
	dd	84
	dd	6
	dd	_810
	dd	_809
	dd	88
	dd	6
	dd	_811
	dd	_809
	dd	92
	dd	6
	dd	_662
	dd	_663
	dd	96
	dd	6
	dd	_812
	dd	_813
	dd	100
	dd	6
	dd	_814
	dd	_742
	dd	104
	dd	6
	dd	_815
	dd	_496
	dd	108
	dd	6
	dd	_816
	dd	_496
	dd	112
	dd	6
	dd	_817
	dd	_532
	dd	116
	dd	6
	dd	_818
	dd	_532
	dd	120
	dd	6
	dd	_683
	dd	_684
	dd	124
	dd	6
	dd	_819
	dd	_820
	dd	128
	dd	6
	dd	_821
	dd	_822
	dd	132
	dd	6
	dd	_823
	dd	_824
	dd	136
	dd	6
	dd	_825
	dd	_826
	dd	140
	dd	6
	dd	_763
	dd	_678
	dd	144
	dd	0
	align	4
_c3d_cal3d_CalCoreBone:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_779
	dd	61
	dd	__c3d_cal3d_CalCoreBone_New
	dd	__c3d_cal3d_CalCoreBone_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreBone_addChildId
	dd	__c3d_cal3d_CalCoreBone_calculateState
	dd	__c3d_cal3d_CalCoreBone_getListChildId
	dd	__c3d_cal3d_CalCoreBone_getName
	dd	__c3d_cal3d_CalCoreBone_getParentId
	dd	__c3d_cal3d_CalCoreBone_getCoreSkeleton
	dd	__c3d_cal3d_CalCoreBone_GetRotation
	dd	__c3d_cal3d_CalCoreBone_getRotationAbsolute
	dd	__c3d_cal3d_CalCoreBone_getRotationBoneSpace
	dd	__c3d_cal3d_CalCoreBone_getTranslation
	dd	__c3d_cal3d_CalCoreBone_getTranslationAbsolute
	dd	__c3d_cal3d_CalCoreBone_getTranslationBoneSpace
	dd	__c3d_cal3d_CalCoreBone_getUserData
	dd	__c3d_cal3d_CalCoreBone_setCoreSkeleton
	dd	__c3d_cal3d_CalCoreBone_setParentId
	dd	__c3d_cal3d_CalCoreBone_SetRotation
	dd	__c3d_cal3d_CalCoreBone_setRotationBoneSpace
	dd	__c3d_cal3d_CalCoreBone_setTranslation
	dd	__c3d_cal3d_CalCoreBone_setTranslationBoneSpace
	dd	__c3d_cal3d_CalCoreBone_setUserData
	dd	__c3d_cal3d_CalCoreBone_calculateBoundingBox
	dd	__c3d_cal3d_CalCoreBone_getBoundingBox
	dd	__c3d_cal3d_CalCoreBone_getBoundingData
	dd	__c3d_cal3d_CalCoreBone_isBoundingBoxPrecomputed
	dd	__c3d_cal3d_CalCoreBone_scale
_828:
	db	"CalCoreSkeleton",0
_829:
	db	"m_vectorCoreBone",0
_830:
	db	"[]:CalCoreBone",0
_831:
	db	"m_mapCoreBoneNames",0
_832:
	db	":StringMap",0
_833:
	db	"m_vectorRootCoreBoneId",0
_834:
	db	"addCoreBone",0
_835:
	db	"(:CalCoreBone)i",0
_836:
	db	"getCoreBonebyID",0
_837:
	db	"(i):CalCoreBone",0
_838:
	db	"getCoreBone",0
_839:
	db	"($):CalCoreBone",0
_840:
	db	"getCoreBoneId",0
_841:
	db	"mapCoreBoneName",0
_842:
	db	"(i,$)b",0
_843:
	db	"getVectorRootCoreBoneId",0
_844:
	db	"getVectorCoreBone",0
_845:
	db	"()[]:CalCoreBone",0
_846:
	db	"calculateBoundingBoxes",0
	align	4
_827:
	dd	2
	dd	_828
	dd	3
	dd	_829
	dd	_830
	dd	8
	dd	3
	dd	_831
	dd	_832
	dd	12
	dd	3
	dd	_833
	dd	_585
	dd	16
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_834
	dd	_835
	dd	48
	dd	6
	dd	_798
	dd	_491
	dd	52
	dd	6
	dd	_836
	dd	_837
	dd	56
	dd	6
	dd	_838
	dd	_839
	dd	60
	dd	6
	dd	_840
	dd	_681
	dd	64
	dd	6
	dd	_841
	dd	_842
	dd	68
	dd	6
	dd	_843
	dd	_800
	dd	72
	dd	6
	dd	_844
	dd	_845
	dd	76
	dd	6
	dd	_846
	dd	_820
	dd	80
	dd	6
	dd	_763
	dd	_678
	dd	84
	dd	0
	align	4
_c3d_cal3d_CalCoreSkeleton:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_827
	dd	20
	dd	__c3d_cal3d_CalCoreSkeleton_New
	dd	__c3d_cal3d_CalCoreSkeleton_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreSkeleton_addCoreBone
	dd	__c3d_cal3d_CalCoreSkeleton_calculateState
	dd	__c3d_cal3d_CalCoreSkeleton_getCoreBonebyID
	dd	__c3d_cal3d_CalCoreSkeleton_getCoreBone
	dd	__c3d_cal3d_CalCoreSkeleton_getCoreBoneId
	dd	__c3d_cal3d_CalCoreSkeleton_mapCoreBoneName
	dd	__c3d_cal3d_CalCoreSkeleton_getVectorRootCoreBoneId
	dd	__c3d_cal3d_CalCoreSkeleton_getVectorCoreBone
	dd	__c3d_cal3d_CalCoreSkeleton_calculateBoundingBoxes
	dd	__c3d_cal3d_CalCoreSkeleton_scale
_848:
	db	"CalCoreModel",0
_849:
	db	"m_vectorCoreAnimation",0
_850:
	db	"[]:CalCoreAnimation",0
_851:
	db	"m_vectorCoreMorphAnimation",0
_852:
	db	"[]:CalCoreMorphAnimation",0
_853:
	db	"m_vectorCoreMesh",0
_854:
	db	"[]:CalCoreMesh",0
_855:
	db	"m_vectorCoreMaterial",0
_856:
	db	"[]:CalCoreMaterial",0
_857:
	db	"m_mapmapCoreMaterialThread",0
_858:
	db	":IntMap",0
_859:
	db	"m_animationName",0
_860:
	db	"m_materialName",0
_861:
	db	"m_meshName",0
_862:
	db	"addCoreAnimation",0
_863:
	db	"(:CalCoreAnimation)i",0
_864:
	db	"getCoreAnimation",0
_865:
	db	"(i):CalCoreAnimation",0
_866:
	db	"getCoreAnimationCount",0
_867:
	db	"loadCoreAnimation",0
_868:
	db	"unloadCoreAnimationbyID",0
_869:
	db	"unloadCoreAnimation",0
_870:
	db	"saveCoreAnimation",0
_871:
	db	"($,i)b",0
_872:
	db	"addAnimationName",0
_873:
	db	"getCoreAnimationId",0
_874:
	db	"addCoreMorphAnimation",0
_875:
	db	"(:CalCoreMorphAnimation)i",0
_876:
	db	"getCoreMorphAnimation",0
_877:
	db	"(i):CalCoreMorphAnimation",0
_878:
	db	"getCoreMorphAnimationCount",0
_879:
	db	"addCoreMaterial",0
_880:
	db	"(:CalCoreMaterial)i",0
_881:
	db	"createCoreMaterialThread",0
_882:
	db	"getCoreMaterial",0
_883:
	db	"(i):CalCoreMaterial",0
_884:
	db	"getCoreMaterialCount",0
_885:
	db	"getCoreMaterialId",0
_886:
	db	"getCoreMaterialIdbyID",0
_887:
	db	"(i,i)i",0
_888:
	db	"loadCoreMaterial",0
_889:
	db	"unloadCoreMaterialbyID",0
_890:
	db	"unloadCoreMaterial",0
_891:
	db	"saveCoreMaterial",0
_892:
	db	"($,i)i",0
_893:
	db	"setCoreMaterialId",0
_894:
	db	"(i,i,i)b",0
_895:
	db	"addMaterialName",0
_896:
	db	"addCoreMesh",0
_897:
	db	"getCoreMesh",0
_898:
	db	"(i):CalCoreMesh",0
_899:
	db	"getCoreMeshCount",0
_900:
	db	"loadCoreMesh",0
_901:
	db	"unloadCoreMeshbyID",0
_902:
	db	"unloadCoreMesh",0
_903:
	db	"saveCoreMesh",0
_904:
	db	"addMeshName",0
_905:
	db	"getCoreMeshId",0
_906:
	db	"loadCoreSkeleton",0
_907:
	db	"saveCoreSkeleton",0
_908:
	db	"addBoneName",0
_909:
	db	"getBoneId",0
	align	4
_847:
	dd	2
	dd	_848
	dd	3
	dd	_651
	dd	_628
	dd	8
	dd	3
	dd	_781
	dd	_782
	dd	12
	dd	3
	dd	_849
	dd	_850
	dd	16
	dd	3
	dd	_851
	dd	_852
	dd	20
	dd	3
	dd	_853
	dd	_854
	dd	24
	dd	3
	dd	_855
	dd	_856
	dd	28
	dd	3
	dd	_857
	dd	_858
	dd	32
	dd	3
	dd	_859
	dd	_832
	dd	36
	dd	3
	dd	_860
	dd	_832
	dd	40
	dd	3
	dd	_861
	dd	_832
	dd	44
	dd	3
	dd	_650
	dd	_639
	dd	48
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_662
	dd	_663
	dd	48
	dd	6
	dd	_683
	dd	_684
	dd	52
	dd	6
	dd	_763
	dd	_678
	dd	56
	dd	6
	dd	_862
	dd	_863
	dd	60
	dd	6
	dd	_864
	dd	_865
	dd	64
	dd	6
	dd	_866
	dd	_491
	dd	68
	dd	6
	dd	_867
	dd	_681
	dd	72
	dd	6
	dd	_868
	dd	_742
	dd	76
	dd	6
	dd	_869
	dd	_681
	dd	80
	dd	6
	dd	_870
	dd	_871
	dd	84
	dd	6
	dd	_872
	dd	_871
	dd	88
	dd	6
	dd	_873
	dd	_681
	dd	92
	dd	6
	dd	_874
	dd	_875
	dd	96
	dd	6
	dd	_876
	dd	_877
	dd	100
	dd	6
	dd	_878
	dd	_491
	dd	104
	dd	6
	dd	_879
	dd	_880
	dd	108
	dd	6
	dd	_881
	dd	_635
	dd	112
	dd	6
	dd	_882
	dd	_883
	dd	116
	dd	6
	dd	_884
	dd	_491
	dd	120
	dd	6
	dd	_885
	dd	_681
	dd	124
	dd	6
	dd	_886
	dd	_887
	dd	128
	dd	6
	dd	_888
	dd	_681
	dd	132
	dd	6
	dd	_889
	dd	_742
	dd	136
	dd	6
	dd	_890
	dd	_681
	dd	140
	dd	6
	dd	_891
	dd	_892
	dd	144
	dd	6
	dd	_893
	dd	_894
	dd	148
	dd	6
	dd	_895
	dd	_871
	dd	152
	dd	6
	dd	_896
	dd	_778
	dd	156
	dd	6
	dd	_897
	dd	_898
	dd	160
	dd	6
	dd	_899
	dd	_491
	dd	164
	dd	6
	dd	_900
	dd	_681
	dd	168
	dd	6
	dd	_901
	dd	_742
	dd	172
	dd	6
	dd	_902
	dd	_681
	dd	176
	dd	6
	dd	_903
	dd	_892
	dd	180
	dd	6
	dd	_904
	dd	_871
	dd	184
	dd	6
	dd	_905
	dd	_681
	dd	188
	dd	6
	dd	_802
	dd	_803
	dd	192
	dd	6
	dd	_906
	dd	_681
	dd	196
	dd	6
	dd	_907
	dd	_681
	dd	200
	dd	6
	dd	_812
	dd	_813
	dd	204
	dd	6
	dd	_908
	dd	_892
	dd	208
	dd	6
	dd	_909
	dd	_681
	dd	212
	dd	0
	align	4
_c3d_cal3d_CalCoreModel:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_847
	dd	52
	dd	__c3d_cal3d_CalCoreModel_New
	dd	__c3d_cal3d_CalCoreModel_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreModel_getUserData
	dd	__c3d_cal3d_CalCoreModel_setUserData
	dd	__c3d_cal3d_CalCoreModel_scale
	dd	__c3d_cal3d_CalCoreModel_addCoreAnimation
	dd	__c3d_cal3d_CalCoreModel_getCoreAnimation
	dd	__c3d_cal3d_CalCoreModel_getCoreAnimationCount
	dd	__c3d_cal3d_CalCoreModel_loadCoreAnimation
	dd	__c3d_cal3d_CalCoreModel_unloadCoreAnimationbyID
	dd	__c3d_cal3d_CalCoreModel_unloadCoreAnimation
	dd	__c3d_cal3d_CalCoreModel_saveCoreAnimation
	dd	__c3d_cal3d_CalCoreModel_addAnimationName
	dd	__c3d_cal3d_CalCoreModel_getCoreAnimationId
	dd	__c3d_cal3d_CalCoreModel_addCoreMorphAnimation
	dd	__c3d_cal3d_CalCoreModel_getCoreMorphAnimation
	dd	__c3d_cal3d_CalCoreModel_getCoreMorphAnimationCount
	dd	__c3d_cal3d_CalCoreModel_addCoreMaterial
	dd	__c3d_cal3d_CalCoreModel_createCoreMaterialThread
	dd	__c3d_cal3d_CalCoreModel_getCoreMaterial
	dd	__c3d_cal3d_CalCoreModel_getCoreMaterialCount
	dd	__c3d_cal3d_CalCoreModel_getCoreMaterialId
	dd	__c3d_cal3d_CalCoreModel_getCoreMaterialIdbyID
	dd	__c3d_cal3d_CalCoreModel_loadCoreMaterial
	dd	__c3d_cal3d_CalCoreModel_unloadCoreMaterialbyID
	dd	__c3d_cal3d_CalCoreModel_unloadCoreMaterial
	dd	__c3d_cal3d_CalCoreModel_saveCoreMaterial
	dd	__c3d_cal3d_CalCoreModel_setCoreMaterialId
	dd	__c3d_cal3d_CalCoreModel_addMaterialName
	dd	__c3d_cal3d_CalCoreModel_addCoreMesh
	dd	__c3d_cal3d_CalCoreModel_getCoreMesh
	dd	__c3d_cal3d_CalCoreModel_getCoreMeshCount
	dd	__c3d_cal3d_CalCoreModel_loadCoreMesh
	dd	__c3d_cal3d_CalCoreModel_unloadCoreMeshbyID
	dd	__c3d_cal3d_CalCoreModel_unloadCoreMesh
	dd	__c3d_cal3d_CalCoreModel_saveCoreMesh
	dd	__c3d_cal3d_CalCoreModel_addMeshName
	dd	__c3d_cal3d_CalCoreModel_getCoreMeshId
	dd	__c3d_cal3d_CalCoreModel_getCoreSkeleton
	dd	__c3d_cal3d_CalCoreModel_loadCoreSkeleton
	dd	__c3d_cal3d_CalCoreModel_saveCoreSkeleton
	dd	__c3d_cal3d_CalCoreModel_setCoreSkeleton
	dd	__c3d_cal3d_CalCoreModel_addBoneName
	dd	__c3d_cal3d_CalCoreModel_getBoneId
_911:
	db	"CalCoreAnimation",0
_912:
	db	"m_listCallbacks",0
_913:
	db	"[]:CalCallbackRecord",0
_914:
	db	"m_duration",0
_915:
	db	"m_listCoreTrack",0
_916:
	db	"[]:CalCoreTrack",0
_917:
	db	"addCoreTrack",0
_918:
	db	"(:CalCoreTrack)b",0
_919:
	db	"getCoreTrack",0
_920:
	db	"(i):CalCoreTrack",0
_921:
	db	"getDuration",0
_922:
	db	"setDuration",0
_923:
	db	"registerCallback",0
_924:
	db	"(:CalAnimationCallback,f)i",0
_925:
	db	"removeCallback",0
_926:
	db	"(:CalAnimationCallback)i",0
_927:
	db	"getCallbackList",0
_928:
	db	"()[]:CalCallbackRecord",0
_929:
	db	"getTrackCount",0
_930:
	db	"getListCoreTrack",0
_931:
	db	"()[]:CalCoreTrack",0
_932:
	db	"getTotalNumberOfKeyframes",0
	align	4
_910:
	dd	2
	dd	_911
	dd	3
	dd	_912
	dd	_913
	dd	8
	dd	3
	dd	_914
	dd	_481
	dd	12
	dd	3
	dd	_915
	dd	_916
	dd	16
	dd	3
	dd	_651
	dd	_628
	dd	20
	dd	3
	dd	_652
	dd	_628
	dd	24
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_917
	dd	_918
	dd	48
	dd	6
	dd	_919
	dd	_920
	dd	52
	dd	6
	dd	_921
	dd	_503
	dd	56
	dd	6
	dd	_922
	dd	_678
	dd	60
	dd	6
	dd	_763
	dd	_678
	dd	64
	dd	6
	dd	_680
	dd	_681
	dd	68
	dd	6
	dd	_666
	dd	_667
	dd	72
	dd	6
	dd	_682
	dd	_681
	dd	76
	dd	6
	dd	_668
	dd	_667
	dd	80
	dd	6
	dd	_923
	dd	_924
	dd	84
	dd	6
	dd	_925
	dd	_926
	dd	88
	dd	6
	dd	_927
	dd	_928
	dd	92
	dd	6
	dd	_929
	dd	_491
	dd	96
	dd	6
	dd	_930
	dd	_931
	dd	100
	dd	6
	dd	_932
	dd	_491
	dd	104
	dd	0
	align	4
_c3d_cal3d_CalCoreAnimation:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_910
	dd	28
	dd	__c3d_cal3d_CalCoreAnimation_New
	dd	__c3d_cal3d_CalCoreAnimation_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreAnimation_addCoreTrack
	dd	__c3d_cal3d_CalCoreAnimation_getCoreTrack
	dd	__c3d_cal3d_CalCoreAnimation_getDuration
	dd	__c3d_cal3d_CalCoreAnimation_setDuration
	dd	__c3d_cal3d_CalCoreAnimation_scale
	dd	__c3d_cal3d_CalCoreAnimation_setFilename
	dd	__c3d_cal3d_CalCoreAnimation_getFilename
	dd	__c3d_cal3d_CalCoreAnimation_setName
	dd	__c3d_cal3d_CalCoreAnimation_getName
	dd	__c3d_cal3d_CalCoreAnimation_registerCallback
	dd	__c3d_cal3d_CalCoreAnimation_removeCallback
	dd	__c3d_cal3d_CalCoreAnimation_getCallbackList
	dd	__c3d_cal3d_CalCoreAnimation_getTrackCount
	dd	__c3d_cal3d_CalCoreAnimation_getListCoreTrack
	dd	__c3d_cal3d_CalCoreAnimation_getTotalNumberOfKeyframes
_934:
	db	"CalCallbackRecord",0
_935:
	db	"callback",0
_936:
	db	":CalAnimationCallback",0
_937:
	db	"min_interval",0
_938:
	db	"FromCallback",0
_939:
	db	"(:CalAnimationCallback,f):CalCallbackRecord",0
	align	4
_933:
	dd	2
	dd	_934
	dd	3
	dd	_935
	dd	_936
	dd	8
	dd	3
	dd	_937
	dd	_481
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_938
	dd	_939
	dd	48
	dd	0
	align	4
_c3d_cal3d_CalCallbackRecord:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_933
	dd	16
	dd	__c3d_cal3d_CalCallbackRecord_New
	dd	__c3d_cal3d_CalCallbackRecord_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCallbackRecord_FromCallback
_941:
	db	"CalCoreKeyframe",0
_942:
	db	"m_time",0
_943:
	db	"(f,:CalVector,:CalQuaternion):CalCoreKeyframe",0
_944:
	db	"Create",0
_945:
	db	"destroy",0
_946:
	db	"getTime",0
_947:
	db	"setTime",0
	align	4
_940:
	dd	2
	dd	_941
	dd	3
	dd	_942
	dd	_481
	dd	8
	dd	3
	dd	_785
	dd	_553
	dd	12
	dd	3
	dd	_786
	dd	_787
	dd	16
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_579
	dd	_943
	dd	48
	dd	6
	dd	_944
	dd	_826
	dd	52
	dd	6
	dd	_945
	dd	_491
	dd	56
	dd	6
	dd	_804
	dd	_805
	dd	60
	dd	6
	dd	_808
	dd	_809
	dd	64
	dd	6
	dd	_946
	dd	_503
	dd	68
	dd	6
	dd	_815
	dd	_496
	dd	72
	dd	6
	dd	_817
	dd	_532
	dd	76
	dd	6
	dd	_947
	dd	_678
	dd	80
	dd	0
	align	4
_c3d_cal3d_CalCoreKeyframe:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_940
	dd	20
	dd	__c3d_cal3d_CalCoreKeyframe_New
	dd	__c3d_cal3d_CalCoreKeyframe_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreKeyframe_FromData
	dd	__c3d_cal3d_CalCoreKeyframe_Create
	dd	__c3d_cal3d_CalCoreKeyframe_destroy
	dd	__c3d_cal3d_CalCoreKeyframe_GetRotation
	dd	__c3d_cal3d_CalCoreKeyframe_getTranslation
	dd	__c3d_cal3d_CalCoreKeyframe_getTime
	dd	__c3d_cal3d_CalCoreKeyframe_SetRotation
	dd	__c3d_cal3d_CalCoreKeyframe_setTranslation
	dd	__c3d_cal3d_CalCoreKeyframe_setTime
_949:
	db	"CalCoreTrack",0
_950:
	db	"m_coreBoneId",0
_951:
	db	"m_keyframes",0
_952:
	db	"[]:CalCoreKeyframe",0
_953:
	db	"getState",0
_954:
	db	"(f,:CalVector,:CalQuaternion)b",0
_955:
	db	"setCoreBoneId",0
_956:
	db	"getCoreKeyframeCount",0
_957:
	db	"getCoreKeyframe",0
_958:
	db	"(i):CalCoreKeyframe",0
_959:
	db	"addCoreKeyframe",0
_960:
	db	"(:CalCoreKeyframe)b",0
_961:
	db	"removeCoreKeyFrame",0
_962:
	db	"getUpperBound",0
	align	4
_948:
	dd	2
	dd	_949
	dd	3
	dd	_950
	dd	_560
	dd	8
	dd	3
	dd	_951
	dd	_952
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_944
	dd	_826
	dd	48
	dd	6
	dd	_945
	dd	_491
	dd	52
	dd	6
	dd	_953
	dd	_954
	dd	56
	dd	6
	dd	_840
	dd	_491
	dd	60
	dd	6
	dd	_955
	dd	_635
	dd	64
	dd	6
	dd	_956
	dd	_491
	dd	68
	dd	6
	dd	_957
	dd	_958
	dd	72
	dd	6
	dd	_959
	dd	_960
	dd	76
	dd	6
	dd	_961
	dd	_742
	dd	80
	dd	6
	dd	_763
	dd	_678
	dd	84
	dd	6
	dd	_962
	dd	_678
	dd	88
	dd	0
	align	4
_c3d_cal3d_CalCoreTrack:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_948
	dd	16
	dd	__c3d_cal3d_CalCoreTrack_New
	dd	__c3d_cal3d_CalCoreTrack_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreTrack_Create
	dd	__c3d_cal3d_CalCoreTrack_destroy
	dd	__c3d_cal3d_CalCoreTrack_getState
	dd	__c3d_cal3d_CalCoreTrack_getCoreBoneId
	dd	__c3d_cal3d_CalCoreTrack_setCoreBoneId
	dd	__c3d_cal3d_CalCoreTrack_getCoreKeyframeCount
	dd	__c3d_cal3d_CalCoreTrack_getCoreKeyframe
	dd	__c3d_cal3d_CalCoreTrack_addCoreKeyframe
	dd	__c3d_cal3d_CalCoreTrack_removeCoreKeyFrame
	dd	__c3d_cal3d_CalCoreTrack_scale
	dd	__c3d_cal3d_CalCoreTrack_getUpperBound
_964:
	db	"CalCoreMorphAnimation",0
_965:
	db	"m_vectorCoreMeshID",0
_966:
	db	"m_vectorMorphTargetID",0
_967:
	db	"addMorphTarget",0
_968:
	db	"(i,i)b",0
_969:
	db	"getVectorCoreMeshID",0
_970:
	db	"getVectorMorphTargetID",0
	align	4
_963:
	dd	2
	dd	_964
	dd	3
	dd	_965
	dd	_585
	dd	8
	dd	3
	dd	_966
	dd	_585
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_967
	dd	_968
	dd	48
	dd	6
	dd	_969
	dd	_800
	dd	52
	dd	6
	dd	_970
	dd	_800
	dd	56
	dd	0
	align	4
_c3d_cal3d_CalCoreMorphAnimation:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_963
	dd	16
	dd	__c3d_cal3d_CalCoreMorphAnimation_New
	dd	__c3d_cal3d_CalCoreMorphAnimation_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreMorphAnimation_addMorphTarget
	dd	__c3d_cal3d_CalCoreMorphAnimation_getVectorCoreMeshID
	dd	__c3d_cal3d_CalCoreMorphAnimation_getVectorMorphTargetID
_972:
	db	"CalCoreSubMorphTarget",0
_973:
	db	"m_vectorBlendVertex",0
_974:
	db	"[]:CalBlendVertex",0
_975:
	db	"getBlendVertexCount",0
_976:
	db	"getVectorBlendVertex",0
_977:
	db	"()[]:CalBlendVertex",0
_978:
	db	"setBlendVertex",0
_979:
	db	"(i,:CalBlendVertex)b",0
	align	4
_971:
	dd	2
	dd	_972
	dd	3
	dd	_973
	dd	_974
	dd	8
	dd	3
	dd	_651
	dd	_628
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_975
	dd	_491
	dd	48
	dd	6
	dd	_976
	dd	_977
	dd	52
	dd	6
	dd	_669
	dd	_635
	dd	56
	dd	6
	dd	_978
	dd	_979
	dd	60
	dd	0
	align	4
_c3d_cal3d_CalCoreSubMorphTarget:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_971
	dd	16
	dd	__c3d_cal3d_CalCoreSubMorphTarget_New
	dd	__c3d_cal3d_CalCoreSubMorphTarget_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreSubMorphTarget_getBlendVertexCount
	dd	__c3d_cal3d_CalCoreSubMorphTarget_getVectorBlendVertex
	dd	__c3d_cal3d_CalCoreSubMorphTarget_reserve
	dd	__c3d_cal3d_CalCoreSubMorphTarget_setBlendVertex
_981:
	db	"CalBlendVertex",0
	align	4
_980:
	dd	2
	dd	_981
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	0
	align	4
_c3d_cal3d_CalBlendVertex:
	dd	_c3d_cal3d_CalVertex
	dd	_bbObjectFree
	dd	_980
	dd	28
	dd	__c3d_cal3d_CalBlendVertex_New
	dd	__c3d_cal3d_CalBlendVertex_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalVertex_FromVector
	dd	__c3d_cal3d_CalVertex_FromData
	dd	__c3d_cal3d_CalVertex_assign
	dd	__c3d_cal3d_CalVertex_assignVector
_983:
	db	"CalSubmesh",0
_984:
	db	"m_coreSubmesh",0
_985:
	db	":CalCoreSubmesh",0
_986:
	db	"m_vectorMorphTargetWeight",0
_987:
	db	"[]f",0
_988:
	db	"m_vectorNormal",0
_989:
	db	"m_vertexCount",0
_990:
	db	"m_faceCount",0
_991:
	db	"m_coreMaterialId",0
_992:
	db	"m_bInternalData",0
_993:
	db	"FromCore",0
_994:
	db	"(:CalCoreSubmesh):CalSubmesh",0
_995:
	db	"():CalCoreSubmesh",0
_996:
	db	"getFaces",0
_997:
	db	"([]i)i",0
_998:
	db	"getVectorNormal",0
_999:
	db	"()[]:CalVector",0
_1000:
	db	"hasInternalData",0
_1001:
	db	"disableInternalData",0
_1002:
	db	"setLodLevel",0
_1003:
	db	"getVectorWeight",0
_1004:
	db	"setMorphTargetWeight",0
_1005:
	db	"(i,f)i",0
_1006:
	db	"getMorphTargetWeight",0
_1007:
	db	"(i)f",0
_1008:
	db	"getBaseWeight",0
_1009:
	db	"getMorphTargetWeightCount",0
_1010:
	db	"getVectorMorphTargetWeight",0
_1011:
	db	"()[]f",0
	align	4
_982:
	dd	2
	dd	_983
	dd	3
	dd	_984
	dd	_985
	dd	8
	dd	3
	dd	_986
	dd	_987
	dd	12
	dd	3
	dd	_701
	dd	_795
	dd	16
	dd	3
	dd	_988
	dd	_795
	dd	20
	dd	3
	dd	_705
	dd	_706
	dd	24
	dd	3
	dd	_712
	dd	_713
	dd	28
	dd	3
	dd	_710
	dd	_711
	dd	32
	dd	3
	dd	_989
	dd	_560
	dd	36
	dd	3
	dd	_990
	dd	_560
	dd	40
	dd	3
	dd	_991
	dd	_560
	dd	44
	dd	3
	dd	_992
	dd	_600
	dd	48
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_993
	dd	_994
	dd	48
	dd	6
	dd	_772
	dd	_995
	dd	52
	dd	6
	dd	_885
	dd	_491
	dd	56
	dd	6
	dd	_721
	dd	_491
	dd	60
	dd	6
	dd	_996
	dd	_997
	dd	64
	dd	6
	dd	_998
	dd	_999
	dd	68
	dd	6
	dd	_730
	dd	_731
	dd	72
	dd	6
	dd	_726
	dd	_727
	dd	76
	dd	6
	dd	_734
	dd	_999
	dd	80
	dd	6
	dd	_736
	dd	_491
	dd	84
	dd	6
	dd	_1000
	dd	_826
	dd	88
	dd	6
	dd	_1001
	dd	_491
	dd	92
	dd	6
	dd	_893
	dd	_742
	dd	96
	dd	6
	dd	_1002
	dd	_678
	dd	100
	dd	6
	dd	_737
	dd	_635
	dd	104
	dd	6
	dd	_738
	dd	_739
	dd	108
	dd	6
	dd	_1003
	dd	_503
	dd	112
	dd	6
	dd	_1004
	dd	_1005
	dd	116
	dd	6
	dd	_1006
	dd	_1007
	dd	120
	dd	6
	dd	_1008
	dd	_503
	dd	124
	dd	6
	dd	_1009
	dd	_491
	dd	128
	dd	6
	dd	_1010
	dd	_1011
	dd	132
	dd	0
	align	4
_c3d_cal3d_CalSubmesh:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_982
	dd	49
	dd	__c3d_cal3d_CalSubmesh_New
	dd	__c3d_cal3d_CalSubmesh_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalSubmesh_FromCore
	dd	__c3d_cal3d_CalSubmesh_getCoreSubmesh
	dd	__c3d_cal3d_CalSubmesh_getCoreMaterialId
	dd	__c3d_cal3d_CalSubmesh_getFaceCount
	dd	__c3d_cal3d_CalSubmesh_getFaces
	dd	__c3d_cal3d_CalSubmesh_getVectorNormal
	dd	__c3d_cal3d_CalSubmesh_getVectorVectorTangentSpace
	dd	__c3d_cal3d_CalSubmesh_getVectorPhysicalProperty
	dd	__c3d_cal3d_CalSubmesh_getVectorVertex
	dd	__c3d_cal3d_CalSubmesh_getVertexCount
	dd	__c3d_cal3d_CalSubmesh_hasInternalData
	dd	__c3d_cal3d_CalSubmesh_disableInternalData
	dd	__c3d_cal3d_CalSubmesh_setCoreMaterialId
	dd	__c3d_cal3d_CalSubmesh_setLodLevel
	dd	__c3d_cal3d_CalSubmesh_isTangentsEnabled
	dd	__c3d_cal3d_CalSubmesh_enableTangents
	dd	__c3d_cal3d_CalSubmesh_getVectorWeight
	dd	__c3d_cal3d_CalSubmesh_setMorphTargetWeight
	dd	__c3d_cal3d_CalSubmesh_getMorphTargetWeight
	dd	__c3d_cal3d_CalSubmesh_getBaseWeight
	dd	__c3d_cal3d_CalSubmesh_getMorphTargetWeightCount
	dd	__c3d_cal3d_CalSubmesh_getVectorMorphTargetWeight
_1013:
	db	"CalMesh",0
_1014:
	db	"m_model",0
_1015:
	db	":CalModel",0
_1016:
	db	"m_coreMesh",0
_1017:
	db	":CalCoreMesh",0
_1018:
	db	"m_vectorSubmesh",0
_1019:
	db	"[]:CalSubmesh",0
_1020:
	db	"(:CalCoreMesh):CalMesh",0
_1021:
	db	"():CalCoreMesh",0
_1022:
	db	"getSubmesh",0
_1023:
	db	"(i):CalSubmesh",0
_1024:
	db	"getSubmeshCount",0
_1025:
	db	"getVectorSubmesh",0
_1026:
	db	"()[]:CalSubmesh",0
_1027:
	db	"setMaterialSet",0
_1028:
	db	"setModel",0
_1029:
	db	"(:CalModel)i",0
	align	4
_1012:
	dd	2
	dd	_1013
	dd	3
	dd	_1014
	dd	_1015
	dd	8
	dd	3
	dd	_1016
	dd	_1017
	dd	12
	dd	3
	dd	_1018
	dd	_1019
	dd	16
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_993
	dd	_1020
	dd	48
	dd	6
	dd	_897
	dd	_1021
	dd	52
	dd	6
	dd	_1022
	dd	_1023
	dd	56
	dd	6
	dd	_1024
	dd	_491
	dd	60
	dd	6
	dd	_1025
	dd	_1026
	dd	64
	dd	6
	dd	_1002
	dd	_678
	dd	68
	dd	6
	dd	_1027
	dd	_742
	dd	72
	dd	6
	dd	_1028
	dd	_1029
	dd	76
	dd	6
	dd	_1001
	dd	_491
	dd	80
	dd	0
	align	4
_c3d_cal3d_CalMesh:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1012
	dd	20
	dd	__c3d_cal3d_CalMesh_New
	dd	__c3d_cal3d_CalMesh_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalMesh_FromCore
	dd	__c3d_cal3d_CalMesh_getCoreMesh
	dd	__c3d_cal3d_CalMesh_getSubmesh
	dd	__c3d_cal3d_CalMesh_getSubmeshCount
	dd	__c3d_cal3d_CalMesh_getVectorSubmesh
	dd	__c3d_cal3d_CalMesh_setLodLevel
	dd	__c3d_cal3d_CalMesh_setMaterialSet
	dd	__c3d_cal3d_CalMesh_setModel
	dd	__c3d_cal3d_CalMesh_disableInternalData
_1031:
	db	"CalBone",0
_1032:
	db	"m_coreBone",0
_1033:
	db	":CalCoreBone",0
_1034:
	db	"m_skeleton",0
_1035:
	db	":CalSkeleton",0
_1036:
	db	"m_accumulatedWeight",0
_1037:
	db	"m_accumulatedWeightAbsolute",0
_1038:
	db	"m_transformMatrix",0
_1039:
	db	":CalMatrix",0
_1040:
	db	"(:CalCoreBone):CalBone",0
_1041:
	db	"blendState",0
_1042:
	db	"(f,:CalVector,:CalQuaternion)i",0
_1043:
	db	"clearState",0
_1044:
	db	"():CalCoreBone",0
_1045:
	db	"setCoreState",0
_1046:
	db	"setCoreStateRecursive",0
_1047:
	db	"getTransformMatrix",0
_1048:
	db	"():CalMatrix",0
_1049:
	db	"lockState",0
_1050:
	db	"setSkeleton",0
_1051:
	db	"(:CalSkeleton)i",0
	align	4
_1030:
	dd	2
	dd	_1031
	dd	3
	dd	_1032
	dd	_1033
	dd	8
	dd	3
	dd	_1034
	dd	_1035
	dd	12
	dd	3
	dd	_1036
	dd	_481
	dd	16
	dd	3
	dd	_1037
	dd	_481
	dd	20
	dd	3
	dd	_785
	dd	_553
	dd	24
	dd	3
	dd	_786
	dd	_787
	dd	28
	dd	3
	dd	_788
	dd	_553
	dd	32
	dd	3
	dd	_789
	dd	_787
	dd	36
	dd	3
	dd	_790
	dd	_553
	dd	40
	dd	3
	dd	_791
	dd	_787
	dd	44
	dd	3
	dd	_1038
	dd	_1039
	dd	48
	dd	3
	dd	_792
	dd	_793
	dd	52
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_993
	dd	_1040
	dd	48
	dd	6
	dd	_1041
	dd	_1042
	dd	52
	dd	6
	dd	_798
	dd	_491
	dd	56
	dd	6
	dd	_1043
	dd	_491
	dd	60
	dd	6
	dd	_838
	dd	_1044
	dd	64
	dd	6
	dd	_1045
	dd	_491
	dd	68
	dd	6
	dd	_1046
	dd	_491
	dd	72
	dd	6
	dd	_815
	dd	_496
	dd	76
	dd	6
	dd	_804
	dd	_805
	dd	80
	dd	6
	dd	_806
	dd	_805
	dd	84
	dd	6
	dd	_807
	dd	_805
	dd	88
	dd	6
	dd	_817
	dd	_532
	dd	92
	dd	6
	dd	_808
	dd	_809
	dd	96
	dd	6
	dd	_810
	dd	_809
	dd	100
	dd	6
	dd	_811
	dd	_809
	dd	104
	dd	6
	dd	_1047
	dd	_1048
	dd	108
	dd	6
	dd	_1049
	dd	_491
	dd	112
	dd	6
	dd	_1050
	dd	_1051
	dd	116
	dd	6
	dd	_819
	dd	_491
	dd	120
	dd	6
	dd	_821
	dd	_822
	dd	124
	dd	0
	align	4
_c3d_cal3d_CalBone:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1030
	dd	56
	dd	__c3d_cal3d_CalBone_New
	dd	__c3d_cal3d_CalBone_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalBone_FromCore
	dd	__c3d_cal3d_CalBone_blendState
	dd	__c3d_cal3d_CalBone_calculateState
	dd	__c3d_cal3d_CalBone_clearState
	dd	__c3d_cal3d_CalBone_getCoreBone
	dd	__c3d_cal3d_CalBone_setCoreState
	dd	__c3d_cal3d_CalBone_setCoreStateRecursive
	dd	__c3d_cal3d_CalBone_SetRotation
	dd	__c3d_cal3d_CalBone_GetRotation
	dd	__c3d_cal3d_CalBone_getRotationAbsolute
	dd	__c3d_cal3d_CalBone_getRotationBoneSpace
	dd	__c3d_cal3d_CalBone_setTranslation
	dd	__c3d_cal3d_CalBone_getTranslation
	dd	__c3d_cal3d_CalBone_getTranslationAbsolute
	dd	__c3d_cal3d_CalBone_getTranslationBoneSpace
	dd	__c3d_cal3d_CalBone_getTransformMatrix
	dd	__c3d_cal3d_CalBone_lockState
	dd	__c3d_cal3d_CalBone_setSkeleton
	dd	__c3d_cal3d_CalBone_calculateBoundingBox
	dd	__c3d_cal3d_CalBone_getBoundingBox
_1053:
	db	"CalSkeleton",0
_1054:
	db	"m_vectorBone",0
_1055:
	db	"[]:CalBone",0
_1056:
	db	"m_isBoundingBoxesComputed",0
_1057:
	db	"(:CalCoreSkeleton):CalSkeleton",0
_1058:
	db	"getBone",0
_1059:
	db	"(i):CalBone",0
_1060:
	db	"getVectorBone",0
_1061:
	db	"()[]:CalBone",0
_1062:
	db	"getBoneCount",0
_1063:
	db	"getBoneBoundingBox",0
_1064:
	db	"(:CalVector,:CalVector):CalMinMax",0
_1065:
	db	"getBonePoints",0
_1066:
	db	"([]f)i",0
_1067:
	db	"getBonePointsStatic",0
_1068:
	db	"getBoneLines",0
_1069:
	db	"getBoneLinesStatic",0
	align	4
_1052:
	dd	2
	dd	_1053
	dd	3
	dd	_781
	dd	_782
	dd	8
	dd	3
	dd	_1054
	dd	_1055
	dd	12
	dd	3
	dd	_1056
	dd	_600
	dd	16
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_993
	dd	_1057
	dd	48
	dd	6
	dd	_798
	dd	_491
	dd	52
	dd	6
	dd	_1043
	dd	_491
	dd	56
	dd	6
	dd	_944
	dd	_813
	dd	60
	dd	6
	dd	_1058
	dd	_1059
	dd	64
	dd	6
	dd	_802
	dd	_803
	dd	68
	dd	6
	dd	_1060
	dd	_1061
	dd	72
	dd	6
	dd	_1062
	dd	_491
	dd	76
	dd	6
	dd	_1049
	dd	_491
	dd	80
	dd	6
	dd	_1063
	dd	_1064
	dd	84
	dd	6
	dd	_846
	dd	_491
	dd	88
	dd	6
	dd	_1065
	dd	_1066
	dd	92
	dd	6
	dd	_1067
	dd	_1066
	dd	96
	dd	6
	dd	_1068
	dd	_1066
	dd	100
	dd	6
	dd	_1069
	dd	_1066
	dd	104
	dd	0
	align	4
_c3d_cal3d_CalSkeleton:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1052
	dd	17
	dd	__c3d_cal3d_CalSkeleton_New
	dd	__c3d_cal3d_CalSkeleton_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalSkeleton_FromCore
	dd	__c3d_cal3d_CalSkeleton_calculateState
	dd	__c3d_cal3d_CalSkeleton_clearState
	dd	__c3d_cal3d_CalSkeleton_Create
	dd	__c3d_cal3d_CalSkeleton_getBone
	dd	__c3d_cal3d_CalSkeleton_getCoreSkeleton
	dd	__c3d_cal3d_CalSkeleton_getVectorBone
	dd	__c3d_cal3d_CalSkeleton_getBoneCount
	dd	__c3d_cal3d_CalSkeleton_lockState
	dd	__c3d_cal3d_CalSkeleton_getBoneBoundingBox
	dd	__c3d_cal3d_CalSkeleton_calculateBoundingBoxes
	dd	__c3d_cal3d_CalSkeleton_getBonePoints
	dd	__c3d_cal3d_CalSkeleton_getBonePointsStatic
	dd	__c3d_cal3d_CalSkeleton_getBoneLines
	dd	__c3d_cal3d_CalSkeleton_getBoneLinesStatic
_1071:
	db	"CalMinMax",0
_1072:
	db	"Minimum",0
_1073:
	db	"Maximum",0
	align	4
_1070:
	dd	2
	dd	_1071
	dd	3
	dd	_1072
	dd	_553
	dd	8
	dd	3
	dd	_1073
	dd	_553
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	0
	align	4
_c3d_cal3d_CalMinMax:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1070
	dd	16
	dd	__c3d_cal3d_CalMinMax_New
	dd	__c3d_cal3d_CalMinMax_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1075:
	db	"CalModel",0
_1076:
	db	"m_coreModel",0
_1077:
	db	":CalCoreModel",0
_1078:
	db	"m_mixer",0
_1079:
	db	":CalMixer",0
_1080:
	db	"m_morphTargetMixer",0
_1081:
	db	":CalMorphTargetMixer",0
_1082:
	db	"m_physique",0
_1083:
	db	":CalPhysique",0
_1084:
	db	"m_springSystem",0
_1085:
	db	":CalSpringSystem",0
_1086:
	db	"m_renderer",0
_1087:
	db	":CalRenderer",0
_1088:
	db	"m_vectorMesh",0
_1089:
	db	"[]:CalMesh",0
_1090:
	db	"(:CalCoreModel):CalModel",0
_1091:
	db	"attachMesh",0
_1092:
	db	"detachMesh",0
_1093:
	db	"getCoreModel",0
_1094:
	db	"():CalCoreModel",0
_1095:
	db	"getMesh",0
_1096:
	db	"(i):CalMesh",0
_1097:
	db	"getMixer",0
_1098:
	db	"():CalMixer",0
_1099:
	db	"getAbstractMixer",0
_1100:
	db	"():CalAbstractMixer",0
_1101:
	db	"setAbstractMixer",0
_1102:
	db	"(:CalAbstractMixer)i",0
_1103:
	db	"getMorphTargetMixer",0
_1104:
	db	"():CalMorphTargetMixer",0
_1105:
	db	"getPhysique",0
_1106:
	db	"():CalPhysique",0
_1107:
	db	"getRenderer",0
_1108:
	db	"():CalRenderer",0
_1109:
	db	"getSkeleton",0
_1110:
	db	"():CalSkeleton",0
_1111:
	db	"getSpringSystem",0
_1112:
	db	"():CalSpringSystem",0
_1113:
	db	"(b):CalBoundingBox",0
_1114:
	db	"getVectorMesh",0
_1115:
	db	"()[]:CalMesh",0
_1116:
	db	"update",0
	align	4
_1074:
	dd	2
	dd	_1075
	dd	3
	dd	_1076
	dd	_1077
	dd	8
	dd	3
	dd	_1034
	dd	_1035
	dd	12
	dd	3
	dd	_1078
	dd	_1079
	dd	16
	dd	3
	dd	_1080
	dd	_1081
	dd	20
	dd	3
	dd	_1082
	dd	_1083
	dd	24
	dd	3
	dd	_1084
	dd	_1085
	dd	28
	dd	3
	dd	_1086
	dd	_1087
	dd	32
	dd	3
	dd	_650
	dd	_639
	dd	36
	dd	3
	dd	_1088
	dd	_1089
	dd	40
	dd	3
	dd	_792
	dd	_793
	dd	44
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_993
	dd	_1090
	dd	48
	dd	6
	dd	_1091
	dd	_635
	dd	52
	dd	6
	dd	_1092
	dd	_635
	dd	56
	dd	6
	dd	_1093
	dd	_1094
	dd	60
	dd	6
	dd	_1095
	dd	_1096
	dd	64
	dd	6
	dd	_1097
	dd	_1098
	dd	68
	dd	6
	dd	_1099
	dd	_1100
	dd	72
	dd	6
	dd	_1101
	dd	_1102
	dd	76
	dd	6
	dd	_1103
	dd	_1104
	dd	80
	dd	6
	dd	_1105
	dd	_1106
	dd	84
	dd	6
	dd	_1107
	dd	_1108
	dd	88
	dd	6
	dd	_1109
	dd	_1110
	dd	92
	dd	6
	dd	_1111
	dd	_1112
	dd	96
	dd	6
	dd	_821
	dd	_1113
	dd	100
	dd	6
	dd	_662
	dd	_663
	dd	104
	dd	6
	dd	_1114
	dd	_1115
	dd	108
	dd	6
	dd	_1002
	dd	_678
	dd	112
	dd	6
	dd	_1027
	dd	_742
	dd	116
	dd	6
	dd	_683
	dd	_684
	dd	120
	dd	6
	dd	_1116
	dd	_678
	dd	124
	dd	6
	dd	_1001
	dd	_491
	dd	128
	dd	0
	align	4
_c3d_cal3d_CalModel:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1074
	dd	48
	dd	__c3d_cal3d_CalModel_New
	dd	__c3d_cal3d_CalModel_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalModel_FromCore
	dd	__c3d_cal3d_CalModel_attachMesh
	dd	__c3d_cal3d_CalModel_detachMesh
	dd	__c3d_cal3d_CalModel_getCoreModel
	dd	__c3d_cal3d_CalModel_getMesh
	dd	__c3d_cal3d_CalModel_getMixer
	dd	__c3d_cal3d_CalModel_getAbstractMixer
	dd	__c3d_cal3d_CalModel_setAbstractMixer
	dd	__c3d_cal3d_CalModel_getMorphTargetMixer
	dd	__c3d_cal3d_CalModel_getPhysique
	dd	__c3d_cal3d_CalModel_getRenderer
	dd	__c3d_cal3d_CalModel_getSkeleton
	dd	__c3d_cal3d_CalModel_getSpringSystem
	dd	__c3d_cal3d_CalModel_getBoundingBox
	dd	__c3d_cal3d_CalModel_getUserData
	dd	__c3d_cal3d_CalModel_getVectorMesh
	dd	__c3d_cal3d_CalModel_setLodLevel
	dd	__c3d_cal3d_CalModel_setMaterialSet
	dd	__c3d_cal3d_CalModel_setUserData
	dd	__c3d_cal3d_CalModel_update
	dd	__c3d_cal3d_CalModel_disableInternalData
_1118:
	db	"CalAnimation",0
_1119:
	db	"m_coreAnimation",0
_1120:
	db	":CalCoreAnimation",0
_1121:
	db	"m_lastCallbackTimes",0
_1122:
	db	"m_type",0
_1123:
	db	"m_state",0
_1124:
	db	"m_timeFactor",0
_1125:
	db	"m_weight",0
_1126:
	db	"(:CalCoreAnimation):CalAnimation",0
_1127:
	db	"():CalCoreAnimation",0
_1128:
	db	"getType",0
_1129:
	db	"getWeight",0
_1130:
	db	"setTimeFactor",0
_1131:
	db	"getTimeFactor",0
_1132:
	db	"checkCallbacks",0
_1133:
	db	"(f,:CalModel)i",0
_1134:
	db	"completeCallbacks",0
_1135:
	db	"setType",0
_1136:
	db	"setState",0
_1137:
	db	"setWeight",0
	align	4
_1117:
	dd	2
	dd	_1118
	dd	3
	dd	_1119
	dd	_1120
	dd	8
	dd	3
	dd	_1121
	dd	_987
	dd	12
	dd	3
	dd	_1122
	dd	_560
	dd	16
	dd	3
	dd	_1123
	dd	_560
	dd	20
	dd	3
	dd	_942
	dd	_481
	dd	24
	dd	3
	dd	_1124
	dd	_481
	dd	28
	dd	3
	dd	_1125
	dd	_481
	dd	32
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_993
	dd	_1126
	dd	48
	dd	6
	dd	_864
	dd	_1127
	dd	52
	dd	6
	dd	_953
	dd	_491
	dd	56
	dd	6
	dd	_946
	dd	_503
	dd	60
	dd	6
	dd	_1128
	dd	_491
	dd	64
	dd	6
	dd	_1129
	dd	_503
	dd	68
	dd	6
	dd	_947
	dd	_678
	dd	72
	dd	6
	dd	_1130
	dd	_678
	dd	76
	dd	6
	dd	_1131
	dd	_503
	dd	80
	dd	6
	dd	_1132
	dd	_1133
	dd	84
	dd	6
	dd	_1134
	dd	_1029
	dd	88
	dd	6
	dd	_1135
	dd	_742
	dd	92
	dd	6
	dd	_1136
	dd	_742
	dd	96
	dd	6
	dd	_1137
	dd	_678
	dd	100
	dd	0
	align	4
_c3d_cal3d_CalAnimation:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1117
	dd	36
	dd	__c3d_cal3d_CalAnimation_New
	dd	__c3d_cal3d_CalAnimation_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalAnimation_FromCore
	dd	__c3d_cal3d_CalAnimation_getCoreAnimation
	dd	__c3d_cal3d_CalAnimation_getState
	dd	__c3d_cal3d_CalAnimation_getTime
	dd	__c3d_cal3d_CalAnimation_getType
	dd	__c3d_cal3d_CalAnimation_getWeight
	dd	__c3d_cal3d_CalAnimation_setTime
	dd	__c3d_cal3d_CalAnimation_setTimeFactor
	dd	__c3d_cal3d_CalAnimation_getTimeFactor
	dd	__c3d_cal3d_CalAnimation_checkCallbacks
	dd	__c3d_cal3d_CalAnimation_completeCallbacks
	dd	__c3d_cal3d_CalAnimation_setType
	dd	__c3d_cal3d_CalAnimation_setState
	dd	__c3d_cal3d_CalAnimation_setWeight
_1139:
	db	"CalAnimationCallback",0
_1140:
	db	"AnimationUpdate",0
_1141:
	db	"(f,:CalModel,:Object)i",0
_1142:
	db	"AnimationComplete",0
_1143:
	db	"(:CalModel,:Object)i",0
	align	4
_1138:
	dd	2
	dd	_1139
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_1140
	dd	_1141
	dd	52
	dd	6
	dd	_1142
	dd	_1143
	dd	56
	dd	0
	align	4
_c3d_cal3d_CalAnimationCallback:
	dd	_c3d_cal3d_CalCallbackRecord
	dd	_bbObjectFree
	dd	_1138
	dd	16
	dd	__c3d_cal3d_CalAnimationCallback_New
	dd	__c3d_cal3d_CalAnimationCallback_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCallbackRecord_FromCallback
	dd	__c3d_cal3d_CalAnimationCallback_AnimationUpdate
	dd	__c3d_cal3d_CalAnimationCallback_AnimationComplete
_1145:
	db	"CalAnimationAction",0
_1146:
	db	"m_delayIn",0
_1147:
	db	"m_delayOut",0
_1148:
	db	"m_delayTarget",0
_1149:
	db	"m_weightTarget",0
_1150:
	db	"m_autoLock",0
_1151:
	db	"BuildFromCore",0
_1152:
	db	"(:CalCoreAnimation):CalAnimationAction",0
_1153:
	db	"execute",0
_1154:
	db	"(f,f,f,b)b",0
_1155:
	db	"(f)b",0
	align	4
_1144:
	dd	2
	dd	_1145
	dd	3
	dd	_1146
	dd	_481
	dd	36
	dd	3
	dd	_1147
	dd	_481
	dd	40
	dd	3
	dd	_1148
	dd	_481
	dd	44
	dd	3
	dd	_1149
	dd	_481
	dd	48
	dd	3
	dd	_1150
	dd	_600
	dd	52
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_1151
	dd	_1152
	dd	104
	dd	6
	dd	_1153
	dd	_1154
	dd	108
	dd	6
	dd	_1116
	dd	_1155
	dd	112
	dd	0
	align	4
_c3d_cal3d_CalAnimationAction:
	dd	_c3d_cal3d_CalAnimation
	dd	_bbObjectFree
	dd	_1144
	dd	53
	dd	__c3d_cal3d_CalAnimationAction_New
	dd	__c3d_cal3d_CalAnimationAction_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalAnimation_FromCore
	dd	__c3d_cal3d_CalAnimation_getCoreAnimation
	dd	__c3d_cal3d_CalAnimation_getState
	dd	__c3d_cal3d_CalAnimation_getTime
	dd	__c3d_cal3d_CalAnimation_getType
	dd	__c3d_cal3d_CalAnimation_getWeight
	dd	__c3d_cal3d_CalAnimation_setTime
	dd	__c3d_cal3d_CalAnimation_setTimeFactor
	dd	__c3d_cal3d_CalAnimation_getTimeFactor
	dd	__c3d_cal3d_CalAnimation_checkCallbacks
	dd	__c3d_cal3d_CalAnimation_completeCallbacks
	dd	__c3d_cal3d_CalAnimation_setType
	dd	__c3d_cal3d_CalAnimation_setState
	dd	__c3d_cal3d_CalAnimation_setWeight
	dd	__c3d_cal3d_CalAnimationAction_BuildFromCore
	dd	__c3d_cal3d_CalAnimationAction_execute
	dd	__c3d_cal3d_CalAnimationAction_update
_1157:
	db	"CalAnimationCycle",0
_1158:
	db	"m_targetDelay",0
_1159:
	db	"m_targetWeight",0
_1160:
	db	"(:CalCoreAnimation):CalAnimationCycle",0
_1161:
	db	"(f,f)b",0
_1162:
	db	"setAsync",0
_1163:
	db	"(f,f)i",0
	align	4
_1156:
	dd	2
	dd	_1157
	dd	3
	dd	_1158
	dd	_481
	dd	36
	dd	3
	dd	_1159
	dd	_481
	dd	40
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_1151
	dd	_1160
	dd	104
	dd	6
	dd	_500
	dd	_1161
	dd	108
	dd	6
	dd	_1162
	dd	_1163
	dd	112
	dd	6
	dd	_1116
	dd	_1155
	dd	116
	dd	0
	align	4
_c3d_cal3d_CalAnimationCycle:
	dd	_c3d_cal3d_CalAnimation
	dd	_bbObjectFree
	dd	_1156
	dd	44
	dd	__c3d_cal3d_CalAnimationCycle_New
	dd	__c3d_cal3d_CalAnimationCycle_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalAnimation_FromCore
	dd	__c3d_cal3d_CalAnimation_getCoreAnimation
	dd	__c3d_cal3d_CalAnimation_getState
	dd	__c3d_cal3d_CalAnimation_getTime
	dd	__c3d_cal3d_CalAnimation_getType
	dd	__c3d_cal3d_CalAnimation_getWeight
	dd	__c3d_cal3d_CalAnimation_setTime
	dd	__c3d_cal3d_CalAnimation_setTimeFactor
	dd	__c3d_cal3d_CalAnimation_getTimeFactor
	dd	__c3d_cal3d_CalAnimation_checkCallbacks
	dd	__c3d_cal3d_CalAnimation_completeCallbacks
	dd	__c3d_cal3d_CalAnimation_setType
	dd	__c3d_cal3d_CalAnimation_setState
	dd	__c3d_cal3d_CalAnimation_setWeight
	dd	__c3d_cal3d_CalAnimationCycle_BuildFromCore
	dd	__c3d_cal3d_CalAnimationCycle_blend
	dd	__c3d_cal3d_CalAnimationCycle_setAsync
	dd	__c3d_cal3d_CalAnimationCycle_update
_1165:
	db	"CalAnimationType",0
_1166:
	db	"TYPE_NONE",0
	align	4
_1167:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	48
_1168:
	db	"TYPE_CYCLE",0
	align	4
_1169:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	49
_1170:
	db	"TYPE_POSE",0
	align	4
_1171:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	50
_1172:
	db	"TYPE_ACTION",0
	align	4
_1173:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	51
	align	4
_1164:
	dd	2
	dd	_1165
	dd	1
	dd	_1166
	dd	_560
	dd	_1167
	dd	1
	dd	_1168
	dd	_560
	dd	_1169
	dd	1
	dd	_1170
	dd	_560
	dd	_1171
	dd	1
	dd	_1172
	dd	_560
	dd	_1173
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	0
	align	4
_c3d_cal3d_CalAnimationType:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1164
	dd	8
	dd	__c3d_cal3d_CalAnimationType_New
	dd	__c3d_cal3d_CalAnimationType_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1175:
	db	"CalAnimationState",0
_1176:
	db	"STATE_NONE",0
_1177:
	db	"STATE_SYNC",0
_1178:
	db	"STATE_ASYNC",0
_1179:
	db	"STATE_IN",0
_1180:
	db	"STATE_STEADY",0
	align	4
_1181:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	52
_1182:
	db	"STATE_OUT",0
	align	4
_1183:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	53
_1184:
	db	"STATE_STOPPED",0
	align	4
_1185:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	54
	align	4
_1174:
	dd	2
	dd	_1175
	dd	1
	dd	_1176
	dd	_560
	dd	_1167
	dd	1
	dd	_1177
	dd	_560
	dd	_1169
	dd	1
	dd	_1178
	dd	_560
	dd	_1171
	dd	1
	dd	_1179
	dd	_560
	dd	_1173
	dd	1
	dd	_1180
	dd	_560
	dd	_1181
	dd	1
	dd	_1182
	dd	_560
	dd	_1183
	dd	1
	dd	_1184
	dd	_560
	dd	_1185
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	0
	align	4
_c3d_cal3d_CalAnimationState:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1174
	dd	8
	dd	__c3d_cal3d_CalAnimationState_New
	dd	__c3d_cal3d_CalAnimationState_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1187:
	db	"CalAbstractMixer",0
_1188:
	db	"isDefaultMixer",0
_1189:
	db	"updateAnimation",0
_1190:
	db	"updateSkeleton",0
	align	4
_1186:
	dd	2
	dd	_1187
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	6
	dd	_1188
	dd	_826
	dd	48
	dd	6
	dd	_1189
	dd	_678
	dd	52
	dd	6
	dd	_1190
	dd	_491
	dd	56
	dd	0
	align	4
_c3d_cal3d_CalAbstractMixer:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1186
	dd	8
	dd	__c3d_cal3d_CalAbstractMixer_New
	dd	__c3d_cal3d_CalAbstractMixer_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalAbstractMixer_isDefaultMixer
	dd	__c3d_cal3d_CalAbstractMixer_updateAnimation
	dd	__c3d_cal3d_CalAbstractMixer_updateSkeleton
_1192:
	db	"CalMixer",0
_1193:
	db	"m_vectorAnimation",0
_1194:
	db	"[]:CalAnimation",0
_1195:
	db	"m_listAnimationAction",0
_1196:
	db	"[]:CalAnimationAction",0
_1197:
	db	"m_listAnimationCycle",0
_1198:
	db	"[]:CalAnimationCycle",0
_1199:
	db	"m_animationTime",0
_1200:
	db	"m_animationDuration",0
_1201:
	db	"FromModel",0
_1202:
	db	"(:CalModel):CalMixer",0
_1203:
	db	"blendCycle",0
_1204:
	db	"(i,f,f)b",0
_1205:
	db	"clearCycle",0
_1206:
	db	"(i,f)b",0
_1207:
	db	"executeAction",0
_1208:
	db	"(i,f,f,f,b)b",0
_1209:
	db	"removeAction",0
_1210:
	db	"getAnimationTime",0
_1211:
	db	"getAnimationDuration",0
_1212:
	db	"setAnimationTime",0
_1213:
	db	"getCalModel",0
_1214:
	db	"():CalModel",0
_1215:
	db	"getAnimationVector",0
_1216:
	db	"()[]:CalAnimation",0
_1217:
	db	"getAnimationActionList",0
_1218:
	db	"()[]:CalAnimationAction",0
_1219:
	db	"getAnimationCycle",0
_1220:
	db	"()[]:CalAnimationCycle",0
	align	4
_1191:
	dd	2
	dd	_1192
	dd	3
	dd	_1014
	dd	_1015
	dd	8
	dd	3
	dd	_1193
	dd	_1194
	dd	12
	dd	3
	dd	_1195
	dd	_1196
	dd	16
	dd	3
	dd	_1197
	dd	_1198
	dd	20
	dd	3
	dd	_1199
	dd	_481
	dd	24
	dd	3
	dd	_1200
	dd	_481
	dd	28
	dd	3
	dd	_1124
	dd	_481
	dd	32
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_1201
	dd	_1202
	dd	60
	dd	6
	dd	_1188
	dd	_826
	dd	48
	dd	6
	dd	_1203
	dd	_1204
	dd	64
	dd	6
	dd	_1205
	dd	_1206
	dd	68
	dd	6
	dd	_1207
	dd	_1208
	dd	72
	dd	6
	dd	_1209
	dd	_635
	dd	76
	dd	6
	dd	_1189
	dd	_678
	dd	52
	dd	6
	dd	_1190
	dd	_491
	dd	56
	dd	6
	dd	_1210
	dd	_503
	dd	80
	dd	6
	dd	_1211
	dd	_503
	dd	84
	dd	6
	dd	_1212
	dd	_678
	dd	88
	dd	6
	dd	_1130
	dd	_678
	dd	92
	dd	6
	dd	_1131
	dd	_503
	dd	96
	dd	6
	dd	_1213
	dd	_1214
	dd	100
	dd	6
	dd	_1215
	dd	_1216
	dd	104
	dd	6
	dd	_1217
	dd	_1218
	dd	108
	dd	6
	dd	_1219
	dd	_1220
	dd	112
	dd	0
	align	4
_c3d_cal3d_CalMixer:
	dd	_c3d_cal3d_CalAbstractMixer
	dd	_bbObjectFree
	dd	_1191
	dd	36
	dd	__c3d_cal3d_CalMixer_New
	dd	__c3d_cal3d_CalMixer_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalMixer_isDefaultMixer
	dd	__c3d_cal3d_CalMixer_updateAnimation
	dd	__c3d_cal3d_CalMixer_updateSkeleton
	dd	__c3d_cal3d_CalMixer_FromModel
	dd	__c3d_cal3d_CalMixer_blendCycle
	dd	__c3d_cal3d_CalMixer_clearCycle
	dd	__c3d_cal3d_CalMixer_executeAction
	dd	__c3d_cal3d_CalMixer_removeAction
	dd	__c3d_cal3d_CalMixer_getAnimationTime
	dd	__c3d_cal3d_CalMixer_getAnimationDuration
	dd	__c3d_cal3d_CalMixer_setAnimationTime
	dd	__c3d_cal3d_CalMixer_setTimeFactor
	dd	__c3d_cal3d_CalMixer_getTimeFactor
	dd	__c3d_cal3d_CalMixer_getCalModel
	dd	__c3d_cal3d_CalMixer_getAnimationVector
	dd	__c3d_cal3d_CalMixer_getAnimationActionList
	dd	__c3d_cal3d_CalMixer_getAnimationCycle
_1222:
	db	"CalMorphTargetMixer",0
_1223:
	db	"m_vectorCurrentWeight",0
_1224:
	db	"m_vectorEndWeight",0
_1225:
	db	"m_vectorDuration",0
_1226:
	db	"(:CalModel):CalMorphTargetMixer",0
_1227:
	db	"getCurrentWeight",0
_1228:
	db	"getCurrentWeightBase",0
_1229:
	db	"getMorphTargetCount",0
	align	4
_1221:
	dd	2
	dd	_1222
	dd	3
	dd	_1014
	dd	_1015
	dd	8
	dd	3
	dd	_1223
	dd	_987
	dd	12
	dd	3
	dd	_1224
	dd	_987
	dd	16
	dd	3
	dd	_1225
	dd	_987
	dd	20
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_1201
	dd	_1226
	dd	48
	dd	6
	dd	_500
	dd	_1204
	dd	52
	dd	6
	dd	_520
	dd	_1206
	dd	56
	dd	6
	dd	_1227
	dd	_1007
	dd	60
	dd	6
	dd	_1228
	dd	_503
	dd	64
	dd	6
	dd	_1229
	dd	_491
	dd	68
	dd	6
	dd	_1116
	dd	_678
	dd	72
	dd	0
	align	4
_c3d_cal3d_CalMorphTargetMixer:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1221
	dd	24
	dd	__c3d_cal3d_CalMorphTargetMixer_New
	dd	__c3d_cal3d_CalMorphTargetMixer_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalMorphTargetMixer_FromModel
	dd	__c3d_cal3d_CalMorphTargetMixer_blend
	dd	__c3d_cal3d_CalMorphTargetMixer_clear
	dd	__c3d_cal3d_CalMorphTargetMixer_getCurrentWeight
	dd	__c3d_cal3d_CalMorphTargetMixer_getCurrentWeightBase
	dd	__c3d_cal3d_CalMorphTargetMixer_getMorphTargetCount
	dd	__c3d_cal3d_CalMorphTargetMixer_update
_1231:
	db	"CalPhysique",0
_1232:
	db	"m_normalize",0
_1233:
	db	"m_axisFactorX",0
_1234:
	db	"m_axisFactorY",0
_1235:
	db	"m_axisFactorZ",0
_1236:
	db	"(:CalModel):CalPhysique",0
_1237:
	db	"calculateTangentSpaces",0
_1238:
	db	"(:CalSubmesh,i,[]f,i)i",0
_1239:
	db	"calculateNormals",0
_1240:
	db	"(:CalSubmesh,[]f,i)i",0
_1241:
	db	"calculateVertices",0
_1242:
	db	"calculateVertex",0
_1243:
	db	"(:CalSubmesh,i):CalVector",0
_1244:
	db	"calculateVerticesAndNormals",0
_1245:
	db	"calculateVerticesNormalsAndTexCoords",0
_1246:
	db	"setNormalization",0
_1247:
	db	"(b)i",0
_1248:
	db	"setAxisFactorX",0
_1249:
	db	"setAxisFactorY",0
_1250:
	db	"setAxisFactorZ",0
_1251:
	db	"calculateVerticesAndNormalsInternal",0
_1252:
	db	"(:CalSubmesh,[]:CalVector,[]:CalVector)i",0
_1253:
	db	"calculateTangentSpacesInternal",0
_1254:
	db	"(:CalSubmesh,i,[]:CalTangentSpace)i",0
	align	4
_1230:
	dd	2
	dd	_1231
	dd	3
	dd	_1014
	dd	_1015
	dd	8
	dd	3
	dd	_1232
	dd	_600
	dd	12
	dd	3
	dd	_1233
	dd	_481
	dd	16
	dd	3
	dd	_1234
	dd	_481
	dd	20
	dd	3
	dd	_1235
	dd	_481
	dd	24
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_1201
	dd	_1236
	dd	48
	dd	6
	dd	_1237
	dd	_1238
	dd	52
	dd	6
	dd	_1239
	dd	_1240
	dd	56
	dd	6
	dd	_1241
	dd	_1240
	dd	60
	dd	6
	dd	_1242
	dd	_1243
	dd	64
	dd	6
	dd	_1244
	dd	_1240
	dd	68
	dd	6
	dd	_1245
	dd	_1240
	dd	72
	dd	6
	dd	_1116
	dd	_491
	dd	76
	dd	6
	dd	_1246
	dd	_1247
	dd	80
	dd	6
	dd	_1248
	dd	_678
	dd	84
	dd	6
	dd	_1249
	dd	_678
	dd	88
	dd	6
	dd	_1250
	dd	_678
	dd	92
	dd	6
	dd	_1251
	dd	_1252
	dd	96
	dd	6
	dd	_1253
	dd	_1254
	dd	100
	dd	0
	align	4
_c3d_cal3d_CalPhysique:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1230
	dd	28
	dd	__c3d_cal3d_CalPhysique_New
	dd	__c3d_cal3d_CalPhysique_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalPhysique_FromModel
	dd	__c3d_cal3d_CalPhysique_calculateTangentSpaces
	dd	__c3d_cal3d_CalPhysique_calculateNormals
	dd	__c3d_cal3d_CalPhysique_calculateVertices
	dd	__c3d_cal3d_CalPhysique_calculateVertex
	dd	__c3d_cal3d_CalPhysique_calculateVerticesAndNormals
	dd	__c3d_cal3d_CalPhysique_calculateVerticesNormalsAndTexCoords
	dd	__c3d_cal3d_CalPhysique_update
	dd	__c3d_cal3d_CalPhysique_setNormalization
	dd	__c3d_cal3d_CalPhysique_setAxisFactorX
	dd	__c3d_cal3d_CalPhysique_setAxisFactorY
	dd	__c3d_cal3d_CalPhysique_setAxisFactorZ
	dd	__c3d_cal3d_CalPhysique_calculateVerticesAndNormalsInternal
	dd	__c3d_cal3d_CalPhysique_calculateTangentSpacesInternal
_1256:
	db	"CalSpringSystem",0
_1257:
	db	"m_gravity",0
_1258:
	db	"m_force",0
_1259:
	db	"m_collision",0
_1260:
	db	"(:CalModel):CalSpringSystem",0
_1261:
	db	"calculateForces",0
_1262:
	db	"(:CalSubmesh,f)i",0
_1263:
	db	"getGravityVector",0
_1264:
	db	"setGravityVector",0
_1265:
	db	"getForceVector",0
_1266:
	db	"setForceVector",0
_1267:
	db	"setCollisionDetection",0
	align	4
_1255:
	dd	2
	dd	_1256
	dd	3
	dd	_1014
	dd	_1015
	dd	8
	dd	3
	dd	_1257
	dd	_553
	dd	12
	dd	3
	dd	_1258
	dd	_553
	dd	16
	dd	3
	dd	_1259
	dd	_600
	dd	20
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_1201
	dd	_1260
	dd	48
	dd	6
	dd	_1261
	dd	_1262
	dd	52
	dd	6
	dd	_1241
	dd	_1262
	dd	56
	dd	6
	dd	_1116
	dd	_678
	dd	60
	dd	6
	dd	_1263
	dd	_809
	dd	64
	dd	6
	dd	_1264
	dd	_532
	dd	68
	dd	6
	dd	_1265
	dd	_809
	dd	72
	dd	6
	dd	_1266
	dd	_532
	dd	76
	dd	6
	dd	_1267
	dd	_1247
	dd	80
	dd	0
	align	4
_c3d_cal3d_CalSpringSystem:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1255
	dd	21
	dd	__c3d_cal3d_CalSpringSystem_New
	dd	__c3d_cal3d_CalSpringSystem_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalSpringSystem_FromModel
	dd	__c3d_cal3d_CalSpringSystem_calculateForces
	dd	__c3d_cal3d_CalSpringSystem_calculateVertices
	dd	__c3d_cal3d_CalSpringSystem_update
	dd	__c3d_cal3d_CalSpringSystem_getGravityVector
	dd	__c3d_cal3d_CalSpringSystem_setGravityVector
	dd	__c3d_cal3d_CalSpringSystem_getForceVector
	dd	__c3d_cal3d_CalSpringSystem_setForceVector
	dd	__c3d_cal3d_CalSpringSystem_setCollisionDetection
_1269:
	db	"CalRenderer",0
_1270:
	db	"m_selectedSubmesh",0
_1271:
	db	":CalSubmesh",0
_1272:
	db	"(:CalModel):CalRenderer",0
_1273:
	db	"FromRenderer",0
_1274:
	db	"(:CalRenderer):CalRenderer",0
_1275:
	db	"beginRendering",0
_1276:
	db	"endRendering",0
_1277:
	db	"getMeshCount",0
_1278:
	db	"getNormals",0
_1279:
	db	"([]f,i)i",0
_1280:
	db	"getTextureCoordinates",0
_1281:
	db	"(i,[]f,i)i",0
_1282:
	db	"getVertices",0
_1283:
	db	"getTangentSpaces",0
_1284:
	db	"getVerticesAndNormals",0
_1285:
	db	"getVerticesNormalsAndTexCoords",0
_1286:
	db	"selectMeshSubmesh",0
	align	4
_1268:
	dd	2
	dd	_1269
	dd	3
	dd	_1014
	dd	_1015
	dd	8
	dd	3
	dd	_1270
	dd	_1271
	dd	12
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_1201
	dd	_1272
	dd	48
	dd	7
	dd	_1273
	dd	_1274
	dd	52
	dd	6
	dd	_1275
	dd	_826
	dd	56
	dd	6
	dd	_1276
	dd	_491
	dd	60
	dd	6
	dd	_653
	dd	_1066
	dd	64
	dd	6
	dd	_655
	dd	_1066
	dd	68
	dd	6
	dd	_721
	dd	_491
	dd	72
	dd	6
	dd	_996
	dd	_997
	dd	76
	dd	6
	dd	_656
	dd	_491
	dd	80
	dd	6
	dd	_659
	dd	_636
	dd	84
	dd	6
	dd	_1277
	dd	_491
	dd	88
	dd	6
	dd	_1278
	dd	_1279
	dd	92
	dd	6
	dd	_660
	dd	_503
	dd	96
	dd	6
	dd	_661
	dd	_1066
	dd	100
	dd	6
	dd	_1024
	dd	_742
	dd	104
	dd	6
	dd	_1280
	dd	_1281
	dd	108
	dd	6
	dd	_736
	dd	_491
	dd	112
	dd	6
	dd	_1282
	dd	_1279
	dd	116
	dd	6
	dd	_1283
	dd	_1281
	dd	120
	dd	6
	dd	_1284
	dd	_1279
	dd	124
	dd	6
	dd	_1285
	dd	_1279
	dd	128
	dd	6
	dd	_737
	dd	_635
	dd	132
	dd	6
	dd	_1286
	dd	_968
	dd	136
	dd	6
	dd	_1246
	dd	_1247
	dd	140
	dd	0
	align	4
_c3d_cal3d_CalRenderer:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1268
	dd	16
	dd	__c3d_cal3d_CalRenderer_New
	dd	__c3d_cal3d_CalRenderer_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalRenderer_FromModel
	dd	__c3d_cal3d_CalRenderer_FromRenderer
	dd	__c3d_cal3d_CalRenderer_beginRendering
	dd	__c3d_cal3d_CalRenderer_endRendering
	dd	__c3d_cal3d_CalRenderer_getAmbientColor
	dd	__c3d_cal3d_CalRenderer_getDiffuseColor
	dd	__c3d_cal3d_CalRenderer_getFaceCount
	dd	__c3d_cal3d_CalRenderer_getFaces
	dd	__c3d_cal3d_CalRenderer_getMapCount
	dd	__c3d_cal3d_CalRenderer_getMapUserData
	dd	__c3d_cal3d_CalRenderer_getMeshCount
	dd	__c3d_cal3d_CalRenderer_getNormals
	dd	__c3d_cal3d_CalRenderer_getShininess
	dd	__c3d_cal3d_CalRenderer_getSpecularColor
	dd	__c3d_cal3d_CalRenderer_getSubmeshCount
	dd	__c3d_cal3d_CalRenderer_getTextureCoordinates
	dd	__c3d_cal3d_CalRenderer_getVertexCount
	dd	__c3d_cal3d_CalRenderer_getVertices
	dd	__c3d_cal3d_CalRenderer_getTangentSpaces
	dd	__c3d_cal3d_CalRenderer_getVerticesAndNormals
	dd	__c3d_cal3d_CalRenderer_getVerticesNormalsAndTexCoords
	dd	__c3d_cal3d_CalRenderer_isTangentsEnabled
	dd	__c3d_cal3d_CalRenderer_selectMeshSubmesh
	dd	__c3d_cal3d_CalRenderer_setNormalization
_1288:
	db	"DeltaTimer",0
_1289:
	db	"targetfps",0
_1290:
	db	"currentticks",0
_1291:
	db	"lastticks",0
_1292:
	db	"frametime",0
_1293:
	db	"delta",0
_1294:
	db	"CreateDelta",0
_1295:
	db	"(f):DeltaTimer",0
_1296:
	db	"UpdateDelta",0
	align	4
_1287:
	dd	2
	dd	_1288
	dd	3
	dd	_1289
	dd	_481
	dd	8
	dd	3
	dd	_1290
	dd	_481
	dd	12
	dd	3
	dd	_1291
	dd	_481
	dd	16
	dd	3
	dd	_1292
	dd	_481
	dd	20
	dd	3
	dd	_1293
	dd	_481
	dd	24
	dd	6
	dd	_490
	dd	_491
	dd	16
	dd	6
	dd	_492
	dd	_491
	dd	20
	dd	7
	dd	_1294
	dd	_1295
	dd	48
	dd	6
	dd	_1296
	dd	_491
	dd	52
	dd	0
	align	4
_c3d_cal3d_DeltaTimer:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1287
	dd	28
	dd	__c3d_cal3d_DeltaTimer_New
	dd	__c3d_cal3d_DeltaTimer_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_DeltaTimer_CreateDelta
	dd	__c3d_cal3d_DeltaTimer_UpdateDelta
	align	4
_7307:
	dd	0x40000000
	align	4
_7308:
	dd	0x40000000
	align	4
_7309:
	dd	0x40000000
	align	4
_7310:
	dd	0x40000000
	align	4
_7311:
	dd	0x40000000
	align	4
_7312:
	dd	0x40000000
	align	4
_7313:
	dd	0x40000000
	align	4
_7314:
	dd	0x40000000
	align	4
_7315:
	dd	0x40000000
	align	4
_7316:
	dd	0x3f800000
	align	4
_7317:
	dd	0x3f800000
	align	4
_7318:
	dd	0x3f800000
	align	4
_7380:
	dd	0x3f800000
	align	4
_7381:
	dd	0x358637bd
	align	4
_7382:
	dd	0x3f800000
	align	4
_7383:
	dd	0x3f800000
	align	4
_7395:
	dd	0x3f800000
	align	4
_7403:
	dd	0x40000000
	align	4
_7404:
	dd	0x3f800000
	align	4
_7405:
	dd	0x40000000
_3439:
	db	":CalInfluence",0
_3466:
	db	":CalInfluence",0
_3480:
	db	":CalInfluence",0
_3493:
	db	"i",0
_3501:
	db	"i",0
	align	4
_7572:
	dd	0xf49dc5ae
_3510:
	db	":CalPlane",0
_3527:
	db	":CalVector",0
_3573:
	db	":StringNode",0
	align	4
_22:
	dd	_bbStringClass
	dd	2147483647
	dd	0
_3638:
	db	":IntNode",0
_3702:
	db	":CalMap",0
_3734:
	db	":CalMap",0
_3824:
	db	":CalTangentSpace",0
_3829:
	db	":CalTangentSpace",0
_3850:
	db	":CalVertex",0
_3855:
	db	"b",0
_3860:
	db	"[]:CalTangentSpace",0
_3865:
	db	"[]:CalTextureCoordinate",0
_3873:
	db	":CalTextureCoordinate",0
_3879:
	db	":CalTangentSpace",0
_3885:
	db	":CalTangentSpace",0
_3890:
	db	":CalFace",0
_3895:
	db	":CalSpring",0
_3901:
	db	":CalPhysicalProperty",0
_3959:
	db	":CalCoreSubMorphTarget",0
	align	4
_7843:
	dd	0x3f800000
	align	4
_7844:
	dd	0x3dcccccd
_3977:
	db	":CalSpring",0
_3982:
	db	":CalPhysicalProperty",0
	align	4
_7858:
	dd	0x358637bd
	align	4
_7859:
	dd	0x358637bd
_4014:
	db	":CalCoreSubmesh",0
	align	4
_53:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	73,110,118,97,108,105,100,32,83,117,98,109,101,115,104,32
	dw	72,97,110,100,108,101
	align	4
_54:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	77,111,114,112,104,32,77,101,115,104,32,77,105,115,109,97
	dw	116,99,104
	align	4
_55:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	69,109,112,116,121,32,83,117,98,109,101,115,104,101,115
	align	4
_59:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	86,101,114,116,105,99,101,32,77,105,115,109,97,116,99,104
_4098:
	db	"i",0
_4135:
	db	":CalVector",0
	align	4
_7959:
	dd	0x3f000000
_4281:
	db	":CalCoreBone",0
_4290:
	db	"i",0
	align	4
_100:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	73,110,118,97,108,105,100,32,66,111,110,101,32,73,68
_4369:
	db	":CalCoreAnimation",0
_4374:
	db	":CalCoreMorphAnimation",0
_4379:
	db	":CalCoreMesh",0
_4384:
	db	":CalCoreMaterial",0
	align	4
_114:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	73,110,118,97,108,105,100,32,65,110,105,109,97,116,105,111
	dw	110,32,73,68
	align	4
_115:
	dd	_bbStringClass
	dd	2147483647
	dd	32
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,33
	dw	32,117,115,101,32,76,111,97,100,101,114,32,84,121,112,101
	align	4
_116:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,33
	dw	32,117,115,101,32,83,97,118,101,114,32,84,121,112,101
_4479:
	db	":CalCoreMorphAnimation",0
	align	4
_117:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	73,110,118,97,108,105,100,32,77,111,114,112,104,32,73,68
_4492:
	db	":CalCoreMaterial",0
	align	4
_118:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	73,110,118,97,108,105,100,32,77,97,116,101,114,105,97,108
	dw	32,73,68
	align	4
_119:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	78,111,116,32,105,109,112,108,109,101,110,116,101,100,32,117
	dw	115,101,32,76,111,97,100,101,114,32,84,121,112,101,33
	align	4
_120:
	dd	_bbStringClass
	dd	2147483647
	dd	32
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,44
	dw	32,85,115,101,32,83,97,118,101,114,32,84,121,112,101,33
	align	4
_121:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	73,110,118,97,108,105,100,32,77,101,115,104,32,73,68
	align	4
_122:
	dd	_bbStringClass
	dd	2147483647
	dd	39
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,44
	dw	32,112,108,101,97,115,101,32,117,115,101,32,76,111,97,100
	dw	101,114,32,84,121,112,101
	align	4
_123:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,44
	dw	32,85,115,101,32,83,97,118,101,114,32,84,121,112,101
	align	4
_124:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,32
	dw	117,115,101,32,76,111,97,100,101,114,32,84,121,112,101
	align	4
_125:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,32
	dw	117,115,101,32,83,97,118,101,114,32,84,121,112,101
	align	4
_126:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	67,97,110,110,111,116,32,115,101,116,32,78,85,76,76,32
	dw	83,107,101,108,101,116,111,110,33
_4598:
	db	":CalCallbackRecord",0
_4603:
	db	":CalCoreTrack",0
	align	4
_127:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	65,110,105,109,97,116,105,111,110
_4626:
	db	":CalCoreTrack",0
_4659:
	db	":CalCallbackRecord",0
_4668:
	db	":CalCallbackRecord",0
_4729:
	db	":CalCoreKeyframe",0
_4737:
	db	":CalCoreKeyframe",0
_4770:
	db	":CalCoreKeyframe",0
_4793:
	db	":CalCoreKeyframe",0
_4821:
	db	"i",0
_4826:
	db	"i",0
_4846:
	db	":CalBlendVertex",0
_4861:
	db	":CalBlendVertex",0
_4885:
	db	"f",0
_4890:
	db	":CalVector",0
_4895:
	db	":CalVector",0
_4904:
	db	":CalFace",0
_4909:
	db	":CalPhysicalProperty",0
_4934:
	db	"f",0
_4940:
	db	":CalVector",0
_4945:
	db	":CalVector",0
_4954:
	db	":CalFace",0
_4960:
	db	":CalPhysicalProperty",0
_4982:
	db	":CalVector",0
_4987:
	db	":CalVector",0
_4997:
	db	":CalPhysicalProperty",0
_5028:
	db	":CalVector",0
_5033:
	db	":CalVector",0
_5042:
	db	":CalPhysicalProperty",0
	align	4
_8376:
	dd	0x0
	align	4
_8377:
	dd	0x3f800000
	align	4
_8378:
	dd	0x3f800000
_5070:
	db	":CalTangentSpace",0
_5075:
	db	":CalTangentSpace",0
	align	4
_180:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,32
	dw	121,101,116
	align	4
_8392:
	dd	0x0
	align	4
_8404:
	dd	0x3f800000
_5112:
	db	":CalSubmesh",0
_5133:
	db	":CalSubmesh",0
	align	4
_187:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	73,110,118,97,108,105,100,32,83,117,98,109,101,115,104,32
	dw	73,68
	align	4
_8494:
	dd	0x3f800000
	align	4
_8495:
	dd	0x3f800000
_5412:
	db	":CalBone",0
_5427:
	db	":CalBone",0
_5440:
	db	":CalBone",0
	align	4
_218:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,32
	dw	89,101,116,46,46,46
_5597:
	db	":CalMesh",0
_5661:
	db	":CalMesh",0
	align	4
_240:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	73,110,118,97,108,105,100,32,77,101,115,104,32,73,68,32
	dw	56,61,61,61,68,32,45,111,32,45,111
_5683:
	db	":CalMesh",0
	align	4
_244:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	73,110,118,97,108,105,100,32,77,101,115,104,32,40,95,111
	dw	95,89,95,111,95,41
_5698:
	db	":CalMesh",0
	align	4
_251:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	73,110,118,97,108,105,100,32,77,105,120,101,114
_5749:
	db	":CalVector",0
_5809:
	db	"f",0
_5824:
	db	"f",0
_5880:
	db	"f",0
_5941:
	db	"f",0
	align	4
_8744:
	dd	0x3f800000
	align	4
_285:
	dd	_bbStringClass
	dd	2147483647
	dd	59
	dw	84,104,105,115,32,105,115,32,116,104,101,32,97,98,115,116
	dw	114,97,99,116,32,109,105,120,101,114,33,32,85,115,101,32
	dw	111,110,101,32,111,102,32,116,104,101,32,101,120,116,101,110
	dw	100,101,100,32,84,121,112,101,101,115,33
_6012:
	db	":CalAnimation",0
_6019:
	db	":CalAnimationAction",0
_6024:
	db	":CalAnimationCycle",0
_6044:
	db	":CalAnimationCycle",0
	align	4
_289:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	78,111,116,32,65,110,105,109,97,116,105,111,110,32,67,121
	dw	99,108,101,32,84,121,112,101
	align	4
_290:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	73,110,118,97,108,105,100,32,65,110,105,109,97,116,105,111
	dw	110,32,84,121,112,101
_6091:
	db	":CalAnimationAction",0
_6118:
	db	":CalAnimationAction",0
_6147:
	db	":CalAnimationAction",0
	align	4
_8816:
	dd	0x0
	align	4
_8817:
	dd	0x0
_6177:
	db	":CalAnimationCycle",0
	align	4
_8832:
	dd	0x0
_6273:
	db	"f",0
_6278:
	db	"f",0
_6283:
	db	"f",0
_6305:
	db	"f",0
_6310:
	db	"f",0
_6315:
	db	"f",0
	align	4
_8889:
	dd	0x0
	align	4
_8897:
	dd	0x3f800000
	align	4
_8925:
	dd	0x0
	align	4
_8926:
	dd	0x0
	align	4
_8927:
	dd	0x0
	align	4
_8945:
	dd	0x0
	align	4
_8946:
	dd	0x0
	align	4
_8947:
	dd	0x0
	align	4
_8964:
	dd	0x0
	align	4
_8965:
	dd	0x0
	align	4
_8966:
	dd	0x0
	align	4
_8985:
	dd	0x0
	align	4
_8986:
	dd	0x0
	align	4
_8987:
	dd	0x0
	align	4
_9005:
	dd	0x0
	align	4
_9006:
	dd	0x0
	align	4
_9007:
	dd	0x0
	align	4
_9011:
	dd	0x0
	align	4
_9012:
	dd	0x0
	align	4
_9013:
	dd	0x0
	align	4
_9037:
	dd	0x0
	align	4
_9038:
	dd	0x0
	align	4
_9039:
	dd	0x0
	align	4
_9043:
	dd	0x0
	align	4
_9044:
	dd	0x0
	align	4
_9045:
	dd	0x0
	align	4
_402:
	dd	_bbStringClass
	dd	2147483647
	dd	80
	dw	105,110,116,101,114,110,97,108,32,101,114,114,111,114,58,32
	dw	98,117,102,102,101,114,32,105,115,32,110,111,116,32,108,97
	dw	114,103,101,32,101,110,111,117,103,104,32,116,111,32,99,111
	dw	110,116,97,105,110,32,97,108,108,32,116,104,101,32,118,101
	dw	114,116,101,120,47,110,111,114,109,97,108,32,100,97,116,97
	align	4
_9084:
	dd	0x0
	align	4
_9085:
	dd	0x0
	align	4
_9086:
	dd	0x0
	align	4
_9090:
	dd	0x0
	align	4
_9091:
	dd	0x0
	align	4
_9092:
	dd	0x0
	align	4
_412:
	dd	_bbStringClass
	dd	2147483647
	dd	37
	dw	105,110,116,101,114,110,97,108,32,101,114,114,111,114,58,32
	dw	109,97,112,73,100,32,105,115,32,111,117,116,32,111,102,32
	dw	114,97,110,103,101
	align	4
_413:
	dd	_bbStringClass
	dd	2147483647
	dd	80
	dw	105,110,116,101,114,110,97,108,32,101,114,114,111,114,58,32
	dw	98,117,102,102,101,114,32,105,115,32,110,111,116,32,108,97
	dw	114,103,101,32,101,110,111,117,103,104,32,116,111,32,99,111
	dw	110,116,97,105,110,32,97,108,108,32,116,104,101,32,116,97
	dw	110,103,101,110,116,32,115,112,97,99,101,32,100,97,116,97
	align	4
_9113:
	dd	0x0
	align	4
_9114:
	dd	0x0
	align	4
_9115:
	dd	0x0
_7025:
	db	"f",0
	align	4
_9136:
	dd	0x40000000
	align	4
_9137:
	dd	0x40000000
	align	4
_9138:
	dd	0x40000000
	align	4
_9189:
	dd	0x43400000
	align	4
_9190:
	dd	0x43400000
	align	4
_9191:
	dd	0x43400000
	align	4
_9192:
	dd	0x43400000
	align	4
_447:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	73,110,118,97,108,105,100,32,77,97,112,32,73,68
	align	4
_9220:
	dd	0x42480000
	align	4
_9226:
	dd	0x437f0000
	align	4
_9227:
	dd	0x437f0000
	align	4
_9228:
	dd	0x437f0000
	align	4
_451:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	77,97,112,32,73,68,32,105,115,32,105,110,118,97,108,105
	dw	100
	align	4
_458:
	dd	_bbStringClass
	dd	2147483647
	dd	39
	dw	73,110,118,97,108,105,100,32,77,97,112,32,73,68,32,111
	dw	114,32,84,97,110,103,101,110,116,115,32,78,111,116,32,69
	dw	110,97,98,108,101,100,33
	align	4
_465:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	73,110,118,97,108,105,100,32,84,101,120,116,117,114,101,32
	dw	67,111,111,114,100,32,67,111,117,110,116
	align	4
_9285:
	dd	0x42700000
	align	4
_9293:
	dd	0x447a0000
